The default language is based on the locale of the session. Which is normally what you want (because it is influenced by the browser preferences, and the same as what wicket is using). You can override it by passing a language as second argument in the TinyMCESettings constructor.
On Sat, 07 Mar 2009 07:22 -0800, "rolandpeng" <[email protected]> wrote: > > There are many languages supported by tinymce. > The default lanuage of my tinymce is "zh". > -- > TinyMCESettings settings = new TinyMCESettings( > TinyMCESettings.Theme.advanced); > Language language = settings.getLanguage(); > System.out.println(language.name()); > ==> > result: zh > -- > I can't find setLanguage() method in TinyMCESettings class. > How to switch the language from "zh" into "en",or any others? > > Thanks. > > Roland. > -- > View this message in context: > http://www.nabble.com/tinymce-question%3A-how-to-switch-default-language--tp22388584p22388584.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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
