Erik Hofman has done some further work on building and
internationalization/locale infrastructure for FlightGear.

The new code supports the LANG environment variable for setting the
desired language.

Currently this only affects the menu system, but in the future we
could internationalize other portions of the program.

In $FG_ROOT/Translations there is a locale.xml file.  This file maps
the contents of LANG into a specific strings-<language>.xml file and
could also in the future map country specific keyboard bindings, a
different menu font that supports different characters, etc.

To add a new language to FlightGear, you need to add a new section to
Translations/locale.xml following the examples in the file itself.
Then you need to provide a new Translations/strings-<language>.xml
which you can copy from an existing file and then do the appropriate
tranlation.

I know this is just scratching the surface, but hopefully for
starters, seeing the menu items in your own native language will make
FlightGear just a little more comfortable.

Regards,

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to