Re: i18n

Adam Megacz <[email protected]> 08 Apr 2003 02:39:26 -0700
Newsgroups gmane.comp.java.xwt.general
Organization XWT
Message-ID <[email protected]>
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?

> > 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");

  - a

_______________________________________________
http://lists.xwt.org/listinfo/dev