|
From: Tim H. <ho...@wu...> - 2008-05-09 14:15:44
|
On Friday 09 May 2008, David Bruce wrote: > Hi Tim, > > On Wednesday 07 May 2008 10:43:08 am Tim Holy wrote: > > I may have a Mac build with internationalization supported (as usual, I > > can't test it myself). > > Just curious - is this a cross-build on linux? Anyway, it works! Hey, great! It's a native build (and universal binary) on the Mac. I got the CMake support to the point that it can also build the code in the intl/ directory---mainly that just required figuring out how to make any necessary "configure"-type checks. (See the file ConfigureChecksIntl.cmake in the cmake-modules directory.) The one oddity is that our in-tree intl code is (quite sensibly) just for gettext-runtime, but to actually process the .po files one needs the full gettext-tools (i.e., msgfmt). So for now the best thing to do is to build on a Mac that has the full support, and get a binary that includes the runtime. I suppose this isn't so different from the fact that the building machine needs a compiler, but the end product can run on machines that don't have one. Now that I know this works, I'll add some documentation to the INSTALL file. > > > To change your localization: from the shell, you'll first have to do > > an "export LANG=nn_NO" or somesuch (alternatively, "export > > LANGUAGE=nn_NO") depending on whether you're running bash or some other > > shell. Then launch tuxmath from the command line. > > For "regular" Mac users, the GUI way is using System > Preferences->International->Formats->Region. (It is a little confusing, > because System Preferences->International->Languages would seem to be the > way to set this, but it isn't - it just sets the language for the Finder > and maybe other system menus, but not for third-party apps). Ah, thanks. > > I can put this binary up later today. Given the recent Ubuntu issues, should we do a full new release, with Pango support on Linux and everything-but-Pango on Mac? (Alex: where did you get SDL_Pango for the Mac? I can't find a pre-built framework.) Before we make a release, perhaps we should also address the other translation-related issues? See my next email. If we add a bunch of new translations, I'll build a new .dmg for Macs before you upload it. Best, --Tim > > Thanks! |