You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by alshamsi <su...@gmail.com> on 2007/10/23 22:23:17 UTC

Internationalization and Component orientation

Hi All,

   I am developing an application that supports English and Arabic.
Therefore based on the locale I need to shift components from right to left
and vice versa. Does wicket provide any utility to facilitate that? Does
anybody know any other framework that can be used on top of wicket to do so?

Regards,
Suad
-- 
View this message in context: http://www.nabble.com/Internationalization-and-Component-orientation-tf4679985.html#a13372442
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Internationalization and Component orientation

Posted by Suad AlShamsi <su...@gmail.com>.
Its working thank you so much.

Jeremy Thomerson wrote:
> I haven't used the mechanism, but I believe that with all of your files
> (html / properties / etc), you should just be able to add the locale
> abbreviation to the end of the file to override the default content.
>
> For instance, if you can re-arrange the layout of your pages by just
> overriding CSS, you might be able to just override your master CSS file....
>
> global.css (default css)
> global_ar.css (Arabic css)
>
> If you need to override actual HTML, you should be able to do the same:
>
> YourPage.html
> YourPage_ar.html
>
> Hope this helps....
>
> Jeremy Thomerson
>
> On 10/23/07, alshamsi <su...@gmail.com> wrote:
>   
>> Hi All,
>>
>>    I am developing an application that supports English and Arabic.
>> Therefore based on the locale I need to shift components from right to
>> left
>> and vice versa. Does wicket provide any utility to facilitate that? Does
>> anybody know any other framework that can be used on top of wicket to do
>> so?
>>
>> Regards,
>> Suad
>> --
>> View this message in context:
>> http://www.nabble.com/Internationalization-and-Component-orientation-tf4679985.html#a13372442
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>     
>
>   


Re: Internationalization and Component orientation

Posted by Jeremy Thomerson <je...@thomersonfamily.com>.
I haven't used the mechanism, but I believe that with all of your files
(html / properties / etc), you should just be able to add the locale
abbreviation to the end of the file to override the default content.

For instance, if you can re-arrange the layout of your pages by just
overriding CSS, you might be able to just override your master CSS file....

global.css (default css)
global_ar.css (Arabic css)

If you need to override actual HTML, you should be able to do the same:

YourPage.html
YourPage_ar.html

Hope this helps....

Jeremy Thomerson

On 10/23/07, alshamsi <su...@gmail.com> wrote:
>
>
> Hi All,
>
>    I am developing an application that supports English and Arabic.
> Therefore based on the locale I need to shift components from right to
> left
> and vice versa. Does wicket provide any utility to facilitate that? Does
> anybody know any other framework that can be used on top of wicket to do
> so?
>
> Regards,
> Suad
> --
> View this message in context:
> http://www.nabble.com/Internationalization-and-Component-orientation-tf4679985.html#a13372442
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>