(27.11.2011 16:13), Luke Kenneth Casson Leighton wrote: > On Sun, Nov 27, 2011 at 10:13 AM, Lukasz Mach<[email protected]> wrote: >> I'm going to write "gettext support" in my application, > oo you don't want to do that - not client-side. make sure it's done > server-side
It's small pyjamas snippet in existing website, and doing client-side gettext is, not trivial, but not hard. And I don't think I really don't want do that. It will be few strings, maybe 15? Doing translation on server-side, well, sounds very complicated. >> Is some basic i18n support in pyjamas? Is it described somewhere? > there is an internationalisation "pattern" in pyjamas which can be > leveraged. gwt's internationalisation support is almost 50,000 lines > of code and it would be completely insane to put all of that into > pyjamas. > > see libtest examples I18N. I see I18N directory, which looks like kind of i18n library. However, I have no idea how to use it. It's only used in testDynamicLoading and similar. Do I see right, that way of this library is to declare function for each string/message/label which should be translated? -- pozdrawiam Ćukasz Mach Pagema (http://www.pagema.net)

