Re: [gtk-osx-users] Using localization with "Application" menu with the gtk mac integration library.

On Oct 1, 2014, at 8:54 PM, Joshua Pettus <jshpettus gmail com> wrote:

Correction, that’s .lproj folders :-|

And I should note we are using gtk2 with the gtkintegration lib v2.0.5


On oct 1, 2014, at 8:59 PM, Joshua Pettus <jshpettus gmail com> wrote:

Hi, I managed to get all the gettext stuff working for the Xboard .app bundle, except for the 
“Application” Menu which was created by the gtk mac integration library.  I couldn’t find any 
documentation regarding this part.
I found the .iproj folders in the the share/strings folder and copied them into the App’s /Resources 
folder, but the OS doesn’t use them to translate the library’s strings.  How is this handled and is there 
something I’m missing?

Joshua Pettus

Somewhere along the line Apple managed to make the table name case-sensitive even though the file system 
isn't. Rename the string files from GtkOSXApplication.strings to GtkosxApplication.strings and it should 
work. Do note that you must use either System Preferences or the defaults AppleLanguages key to set the 
locale; environment variables won't work.

John Ralls

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]