Translation issue on Mac OS X - XCode encoding issue

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Translation issue on Mac OS X - XCode encoding issue

by Bill Kendrick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Abdoul Cisse, who worked on translating Tux Paint to Songhay, noticed
some localization issues on Mac OS X.  Martin Fuhrer, who's currently
travelling, was kind enough to dig in and discovered the following issue:


On Wed, Aug 19, 2009 at 12:56:58AM +0800, Martin Fuhrer wrote:

> Okay, I found the problem. In the po files, some of the English  
> strings (msgid) contain a right quotation mark character ? (Unicode  
> 2019) rather than an apostrophe ' (Unicode 0027), for example:
>
> msgid "Yes, I?m done!"
> msgstr "Ja, ich bin fertig!"
>
> The msgid strings are matched up with strings in the source files via  
> the gettext_noop() function:
>
> #define PROMPT_QUIT_YES gettext_noop("Yes, I?m done!")
>
> Unfortunately, XCode was interpreting the tuxpaint.c file with a  
> "Western" text encoding, rather than a "Unicode UTF-8" text encoding,  
> and the function call looked like this:
>
> #define PROMPT_QUIT_YES gettext_noop("Yes, I?Äôm done!")
>
> This is why any strings containing right quotation marks weren't  
> getting translated.  I've changed the text encoding, but ran into an  
> issue creating the Mac OS X build from the 0.9.21 tarball.  I'll see  
> if I can finish the build tomorrow; if not, I'll resume when I'm back  
> from my travels in September.
>
> Martin

Thanks, all!

-bill!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tuxpaint-devel mailing list
Tuxpaint-devel@...
https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel