Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4647235
By: christianhan

I'm currently trying to create a project in Visual C++ on MFC that uses .po
files to handle its translations. I have tried to integrate GnuWin32 Gettext
but have met with several obstacles.

1. My program can set it's language independent of the system language. I've
using setlocale(LC_ALL, "ja_JP") but the language doesn't change. I've treid
putting the mo files files in several places but to no success.

2. The gettext function returns a char*. If I pass in a unicode string such
as 'こんにちは世界', i will get '‚±‚ñ‚É‚¿‚͐¢ŠE'. I've
tried to use bind_textdomain_codeset("sample", "UTF-8") but it doesn't help.

I've tried searching the net and found a gettext ported to windows by Franco
and can get the translation using the gettext library provided by him but I
still encountered problem 2 as stated above.

PLease, is there someone who can point me to the right direction? Thanks.

Resources:
GnuWin32 GetText [http://gnuwin32.sourceforge.net/packages/gettext.htm]
Franco's GetText
[http://freenet-homepage.de/franco.bez/gettext/gettext_win32_en.html]

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to