You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Rudolf Baloun <Ru...@atron.de> on 2006/02/08 10:10:41 UTC

Localization

Hi comunity,


i know, that it is possible to localize the pages by adding *.properties 
files
in the WEB-INF folder.
For Example:
Home.page
Home.html
Home.properties
Home_fr.properties
Login.page
Login.html
Login.properties
Login_fr.properties
....

<html jwcid="@Shell <http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Shell.html>" title="message:page-title">
 . . .
</html>


Now my question:
Is it possible to use ONE (1) localization file for ALL pages?

So that i have e.g.:

Home.page
Home.html
Login.page
Login.html
l18n.properties
l18n_fr.properties

l18n.properties (or l18n_fr.properties) should be used for all pages.
How can i realized this?


Best regards

Rudolf B.

Re: Localization

Posted by Rudolf Baloun <Ru...@atron.de>.
Thx Lukas, that's what i was looking for.
This work perfekt for me.


Lukas Ruetz wrote:

>hi
>
>in T4 you can have an application wide .property file
>named <app-name>_<lang-code>.properties - for example
>myapp_fr.properties (for myapp.application).
>
>lukas
>
>
>Am Mittwoch, 8. Februar 2006 10:10 schrieb Rudolf Baloun:
>  
>
>>Hi comunity,
>>
>>
>>i know, that it is possible to localize the pages by adding *.properties
>>files
>>in the WEB-INF folder.
>>For Example:
>>Home.page
>>Home.html
>>Home.properties
>>Home_fr.properties
>>Login.page
>>Login.html
>>Login.properties
>>Login_fr.properties
>>....
>>
>><html jwcid="@Shell
>><http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Shell.html>
>>" title="message:page-title"> . . .
>></html>
>>
>>
>>Now my question:
>>Is it possible to use ONE (1) localization file for ALL pages?
>>
>>So that i have e.g.:
>>
>>Home.page
>>Home.html
>>Login.page
>>Login.html
>>l18n.properties
>>l18n_fr.properties
>>
>>l18n.properties (or l18n_fr.properties) should be used for all pages.
>>How can i realized this?
>>
>>
>>Best regards
>>
>>Rudolf B.
>>    
>>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Localization

Posted by Lukas Ruetz <lu...@gmx.at>.
hi

in T4 you can have an application wide .property file
named <app-name>_<lang-code>.properties - for example
myapp_fr.properties (for myapp.application).

lukas


Am Mittwoch, 8. Februar 2006 10:10 schrieb Rudolf Baloun:
> Hi comunity,
>
>
> i know, that it is possible to localize the pages by adding *.properties
> files
> in the WEB-INF folder.
> For Example:
> Home.page
> Home.html
> Home.properties
> Home_fr.properties
> Login.page
> Login.html
> Login.properties
> Login_fr.properties
> ....
>
> <html jwcid="@Shell
> <http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Shell.html>
>" title="message:page-title"> . . .
> </html>
>
>
> Now my question:
> Is it possible to use ONE (1) localization file for ALL pages?
>
> So that i have e.g.:
>
> Home.page
> Home.html
> Login.page
> Login.html
> l18n.properties
> l18n_fr.properties
>
> l18n.properties (or l18n_fr.properties) should be used for all pages.
> How can i realized this?
>
>
> Best regards
>
> Rudolf B.

-- 
 lukas ruetz

 6591 grins | fals 99e | austria
 +43(0)650/5905334
 lukas.ruetz@gmx.at
 http://www.luukes.de.vu

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org