You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by newbieabc <ne...@yahoo.com> on 2008/10/20 15:03:50 UTC

Multilingual website

Could someone direct me in how to go about making an exisiting website a
multilingual one in wicket framework?
General info, articles you can recommend would be great.
I'm in the starting phase so I don't have any specific questions yet.

Thanks
-- 
View this message in context: http://www.nabble.com/Multilingual-website-tp20067483p20067483.html
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: Multilingual website

Posted by Goran Novak <gn...@gmail.com>.
Every page like

SomePage.java

can have multiple message files with the same name as java file for each
language:

default language:
SomePage.properties

english:
SomePage_en.propeties

and so on.

In each propeties file you put the sam key and differen values

SomePage.properties -->
someMessageKey = Message in default language
<--

SomePage_en.propeties -->
someMessageKey = Message in english langugage
<--

You can then access those messages in pages (.java) by using localizer
object like this:

String messageValue = getLocalizer().getString("someMessageKey", this);

Bye.



newbieabc wrote:
> 
> Could someone direct me in how to go about making an exisiting website a
> multilingual one in wicket framework?
> General info, articles you can recommend would be great.
> I'm in the starting phase so I don't have any specific questions yet.
> 
> Thanks
> 

-- 
View this message in context: http://www.nabble.com/Multilingual-website-tp20067483p20070061.html
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: Multilingual website

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
Is it just static multilingual, like help texts buttons etc.. Then you 
can use property files, database stuff etc.. There something about this 
on the wiki and in WIA..

If it's deeper like some of your classes descriptions, etc can be 
translated its another story.. A little more messy, unless you use 
JPA-translator. Im a developer on it, but it's been a bit inactive lately..

newbieabc wrote:
> Could someone direct me in how to go about making an exisiting website a
> multilingual one in wicket framework?
> General info, articles you can recommend would be great.
> I'm in the starting phase so I don't have any specific questions yet.
>
> Thanks
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


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