On Tuesday, May 31, 2011 2:28:38 AM UTC+2, Juan Pablo Gardella wrote:
>
> Perhaps with maven 
> filters<http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files>.
>  
> You can replace properties in process-resources before compilation.
>

This is actually a good idea but yeah we need for each of those a 
permutation so we could include one during runtime.
 

> Do you need at runtime?
>
> 2011/5/30 elbartus <[email protected]>
>
>> Hi,
>>
>> we're are having problems to customize the I18N functionality of GWT.
>>
>> We are currently using a static property file to generate our interfaces 
>> we use in the code.
>>
>> Apart from loading the default locales like "*de*" or "*en*" at runtime 
>> we are also looking for a way to load custom language files dependent of 
>> another property (e.g. called "*dist*").
>>
>> In detail:
>>
>> In our .gwt.xml we have both properties defined like this:
>>
>> <extend-property values="de" name="locale"/>
>> <extend-property values="en" name="locale"/>
>>
>> <define-property name="xvz.platform" values="dist1,dist2,dist3"/>
>>
>>
>> We now want to have one language file which contains all generic 
>> properties, and for each distribution and language other language files 
>> which can contain special values.
>> All these interfaces should also be generated automatically with the maven 
>> gwt plugin "i18nMessagesBundle".
>>
>> We already tried to use a "SpecialLocalMessage" interface which extends 
>> all the special dist interfaces but we were not able to replace those in the 
>> gwt.xml via "<replace-with>" because there are classes but not interfaces 
>> required.
>>
>> Do you see any solution for this problem?
>>
>>
>> Thanks for you help in advance and best regards,
>>
>> Tim
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to