You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Brijesh <br...@techblue.co.uk> on 2010/05/27 10:31:06 UTC

To show website in multiple language

Hello,

I want to make a website to show in multiple language according to user 
choice with using i18n.

There are some modules and XSL files to create some forms.
The content of the forms for example label should be change according to 
the language.

If you have any idea please suggest me.

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


Re: To show website in multiple language

Posted by Brijesh <br...@techblue.co.uk>.
Hi,

Thanks for the suggestion 

It works very well

Michael Wechner wrote:
> Brijesh wrote:
>> Hello,
>>
>> I want to make a website to show in multiple language according to 
>> user choice with using i18n.
>>
>> There are some modules and XSL files to create some forms.
>> The content of the forms for example label should be change according 
>> to the language.
>>
>> If you have any idea please suggest me.
>
> You can use <i18n:text key="lastname"/> within the XSLT
>
> and within the i18n catalogue you have something like
>
> <message key="lastname">
>  <text language="de">Nachname</text>
> <text languaeg="en">Lastname</text>
> </message>
>
> HTH
>
> Michael
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


-- 
Regards
Brijesh


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


Re: To show website in multiple language

Posted by Michael Wechner <mi...@wyona.com>.
Brijesh wrote:
> Hello,
>
> I want to make a website to show in multiple language according to 
> user choice with using i18n.
>
> There are some modules and XSL files to create some forms.
> The content of the forms for example label should be change according 
> to the language.
>
> If you have any idea please suggest me.

You can use <i18n:text key="lastname"/> within the XSLT

and within the i18n catalogue you have something like

<message key="lastname">
  <text language="de">Nachname</text>
 <text languaeg="en">Lastname</text>
</message>

HTH

Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


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