Re: Multilingual website
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multilingual website
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]