[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XBoard-devel] Gettext localization will work with the osx app!
From: |
Tim Mann |
Subject: |
Re: [XBoard-devel] Gettext localization will work with the osx app! |
Date: |
Sat, 4 Oct 2014 18:39:17 -0700 |
For what it's worth, a little googling tells me that zh_HK is Hong Kong Chinese.
On Sat, Oct 4, 2014 at 12:27 PM, Joshua Pettus <address@hidden> wrote:
> Even if we cant get the code in for 4.8, I kinda would still like to have
> localization in the app bundle for the release, if that’s ok.
>
> Josh
>
> On Oct 3, 2014, at 1:55 AM, Joshua Pettus <address@hidden> wrote:
>
>> Hi Harm,
>>
>> I wanted to let you know that I can have gettext working in the mac app.
>> Turns out, all we needed was to compile xboard with NLS and we were good.
>> Xboard of course checks the LOCALEDIR which is originally set to
>> /usr/local/share/locale in the makefile. I was hoping we could hardcode it
>> for the Xboard.app to be DataDir/Contents/Resources/share/locale in a way
>> similar to what we did with SVGDIR.
>>
>> There was an extra hurdle regarding the gtkmacintegration library with the
>> Application (Xboard) menu, which requires to be localized separately by OSX.
>> Namely a bunch of language.lproj folders with Gtkosxapplication.strings
>> files in the app’s resource folder with each string for the menu items. On
>> the gtk-osx-users-list email list we managed to squash a library bug stoping
>> this from working for us properly. I also updated those .string files that
>> came with the library accordingly, so we now have a matching language folder
>> for every language we have with gettext. Except for zh_HK, which I have no
>> idea what that is.
>>
>> There is one more problem though. “About Xboard” was moved from the help
>> menu to the Xboard menu. John Ralls said that moved menu items need to be
>> handled by gettext, but for some reason this is never translated by gettext.
>> Anything we can do to restore this?
>>
>> Thanks!
>> Josh Pettus
>
>
- [XBoard-devel] Gettext localization will work with the osx app!, Joshua Pettus, 2014/10/03
- Re: [XBoard-devel] Gettext localization will work with the osx app!, Joshua Pettus, 2014/10/04
- Re: [XBoard-devel] Gettext localization will work with the osx app!,
Tim Mann <=
- Re: [XBoard-devel] Gettext localization will work with the osx app!, Joshua Pettus, 2014/10/04
- Re: [XBoard-devel] Gettext localization will work with the osx app!, Joshua Pettus, 2014/10/05
- Re: [XBoard-devel] Gettext localization will work with the osx app!, Joshua Pettus, 2014/10/05
- Re: [XBoard-devel] Gettext localization will work with the osx app!, Joshua Pettus, 2014/10/06
- Re: [XBoard-devel] Gettext localization will work with the osx app!, H.G. Muller, 2014/10/06
- Re: [XBoard-devel] Gettext localization will work with the osx app!, Joshua Pettus, 2014/10/06
- Re: [XBoard-devel] Gettext localization will work with the osx app!, H.G. Muller, 2014/10/06
- Re: [XBoard-devel] Gettext localization will work with the osx app!, Joshua Pettus, 2014/10/07
- Re: [XBoard-devel] Gettext localization will work with the osx app!, Arun Persaud, 2014/10/07