Howto:Translate FlightGear: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Some updates and corrections)
No edit summary
Line 1: Line 1:
How to '''translate [[FlightGear]]''''s menus and messages to your language.
How to '''translate [[FlightGear]]''''s menus and messages to your language.


# Check whether your language already has a subdirectory below <tt> [[$FG_ROOT]]/translations/</tt>. The two letter language code can be obtained from the [http://www.loc.gov/standards/iso639-2/php/code_list.php ISO 639 list]. If it does exist, skip to step 2, else do the following:
# Check whether your language already has a subdirectory below <tt> [[$FG_ROOT]]/translations/</tt>. Also check the master repository [https://www.gitorious.org/fg/fgdata/trees/master/Translations fgdata/Translations] - maybe someone has just recently created the language resources.
#* The two letter language code can be obtained from the [http://www.loc.gov/standards/iso639-2/php/code_list.php ISO 639 list]. If it does exist, skip to step 2, else do the following:
## Create an empty directory with your language's code.
## Create an empty directory with your language's code.
## Copy all files from <tt>[[$FG_ROOT]]/translations/en/</tt> to the directory of your language (e.g. "menu.xml" and "options.xml").
## Download the latest English language resources from [https://www.gitorious.org/fg/fgdata/trees/master/Translations/en fgdata/Translations/en].
## Copy all the downloaded files to the directory of your language (e.g. "menu.xml" and "options.xml").
# Translate the English strings in your language's xml files.
# Translate the English strings in your language's xml files.
#* '''Do not''' translate the filenames!
#* '''Do not''' translate the filenames!
159

edits

Navigation menu