Re: i18n
Emiliano <[email protected]> Tue, 8 Apr 2003 13:05:41 +0200
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 08, 2003 at 02:39:26AM -0700, Adam Megacz wrote: > Emiliano <[email protected]> writes: > > I know a little about unicode. I do have people around that are familiar > > with unicode issues (russians, mainly, but some polish). > > Actually, the Russians will be most useful because they use a > completely different character set... do they have a Russian version > of Windows available for testing stuff? Not very likely, but they do have a fully (to my knowledge) localized version of GNU/Linux. > > > Definately. You could use something like xwt.theme("myapp.lang", > > > "myapp.english") to overlay the english templates onto the lang > > > templates, which are the ones you instantiate. > > > > But what about parameter positions? > > > > "Are you sure you want to delete file %file%, dated %date%" > > myapp.lang.areyousure is a String, so you can do this: > > myapp.lang.areyousure.replace("%file%", "foo.html"); Hotdang. Can you give me a sample of how such a theme would look? Emile _______________________________________________ http://lists.xwt.org/listinfo/dev