[forge-dev] I18N Plugin

George Gastaldi gegastaldi at gmail.com
Tue Apr 17 14:48:52 EDT 2012


Just Figured it out that I had to add @ResourceHandles("*.properties")
in my class.

Now testing !

2012/4/17 George Gastaldi <gegastaldi at gmail.com>:
> Ok, in order to allow better flexibility, I created a
> PropertiesFileResource (http://pastebin.com/cumGm9Bp) and an
> EntryResource (http://pastebin.com/PDARhPEJ).
>
> Now  I need to change
> org.jboss.forge.project.services.ResourceFactory.getResourceFrom(File)
> to return this object when a .properties file is called.
>
> Question is: What´s the better way of doing this ? I don´t think
> changing directly in this method will suffice.
>
> When inside a properties file, running  "ls" should display the
> properties in a key = value format
>
> Regards,
>
> George Gastaldi
>
>
>
> 2012/4/17 Lincoln Baxter, III <lincolnbaxter at gmail.com>:
>> This sounds like something that would go well in the "dev-plugins" module.
>> Good idea! I've also been wanting a plugin to create a new ServiceLoader
>> service registration in META-INF/services, based on an interface and class
>> implementation.
>>
>> On Mon, Apr 16, 2012 at 11:55 PM, George Gastaldi <gegastaldi at gmail.com>
>> wrote:
>>>
>>> Hey all,
>>>
>>> Just created a new issue (https://issues.jboss.org/browse/FORGE-541)
>>> regarding i18n support on Forge enabled projects.
>>>
>>> I was thinking if it should it be part of Forge core. WDYT ?
>>>
>>>
>>> Feel free to add any new comment on this issue. I plan to start
>>> working on it still this week.
>>>
>>> Regards,
>>>
>>> George Gastaldi
>>> _______________________________________________
>>> forge-dev mailing list
>>> forge-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>>
>>
>>
>> --
>> Lincoln Baxter, III
>> http://ocpsoft.org
>> "Simpler is better."
>>
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>



More information about the forge-dev mailing list