Pointings on Locales
Tommy W
tommy at svearike.sytes.net
Sun Feb 4 06:34:23 PST 2007
> Hi all.
>
> I'm building an app which will be used in three languages, thus I went
> to learn how to use locales on windows (9X, 2K and XP).
> I've read something now, but still I can't make any of my apps change
> its language. So I'm in need of some more pointers.
>
> The wxWidgets' wxLocale sample works fine. I'm using the poEdit to
> create the .po and .mo files.
> Could it be something related to the directory where the .po 'n' .mo
> are (again, I'm on windows)?
Are you aware that you should have this structure?
en/name.mo
de/name.mo
sv/name.mo
fi/name.mo
e.t.c.
I usually put it in yet another subdirectory called 'intl'
You also have to add the path where these directories are located so that they
might be found.
Hope this have helped you.
I did something similar yesterday, it's really simple programatically only
three lines, but the hard task is getting the directories / catalogs work.
/Tommy
More information about the wx-users
mailing list