RE: question about language translation

0 views
Skip to first unread message

DeMarco, Paul

unread,
Jan 12, 2004, 12:56:28 PM1/12/04
to wx-u...@lists.wxwindows.org
Daniel,
There are a couple of things that could be going on. First, I am making an assumption that the program is written with quoted english text in the program. I don't see a relationship from your computer's locale to a PO/MO language file path. This means that wxLocale will still be required to find the tranlations' path. So try to use wxLocale.

IMHO your approach is nicer than the current setup but less general. For instance, I need to use multiple locales on a single application that is running on a French/France computer. To make your idea work you will have to find the running computer's locale and convert it into a wxLocale.

Best of luck.

-- Paul

-----Original Message-----
From: Daniel Snook [mailto:wxds...@free.fr]
Sent: Monday, January 12, 2004 10:52 AM
To: wx-u...@lists.wxwindows.org
Subject: question about language translation


Hi,

config: wxMac2.4.2 with MacOsX gcc3.1

My application uses classes like wxMessageBox and wxFileDialog and the
default language of my OS is
French. When I run my app, the text of these dialog frames is in English and
the native Help menu too.

What can I do in order to have it in French? Do I have to look at wxLocale
and internat sample or this is the wrong way?
Do have to use a specific compilation option in order to have french?

Thanks,
Daniel


---------------------------------------------------------------------
Please read http://www.wxwindows.org/mlhowto.htm before posting.

To unsubscribe, e-mail: wx-users-u...@lists.wxwindows.org
For additional commands, e-mail: wx-use...@lists.wxwindows.org

Reply all
Reply to author
Forward
0 new messages