Howto:Translate FlightGear
Jump to navigation
Jump to search
This howto explains translating FlightGear's menus and messages to your language.
The language option was broken in FlightGear 2.4.0 and 2.6.0. Menu translations are only supported as of 2.7.0 and later.
- Check whether your language already has a subdirectory under $FG_ROOT/translations/. The two letter language code can be obtained from the ISO 639 list. If it does exist, skip to step 2, else do the following:
- Translate the English strings in your language's xml files. Do not translate the filenames!
- Edit the file $FG_ROOT/Translations/locale.xml and add the section for your language.
- Start FlightGear with
--lang=your code
(can be set via Advanced > General, when using FGRun).
Notes
- WARNING: You can only use ASCII characters for translating strings in your language.
- FlightGear has bad I18N (internationalization) support. More information at: http://www.mail-archive.com/flightgear-users@lists.sourceforge.net/msg05761.html