Difference between revisions of "HOWTO-Translate ScummVM GUI"

Jump to navigation Jump to search
→‎Using the translation in ScummVM: Add link to compiled translations creation tool and instructions to use them
(→‎FAQ: Add one question to FAQ)
(→‎Using the translation in ScummVM: Add link to compiled translations creation tool and instructions to use them)
Line 18: Line 18:
== Using the translation in ScummVM ==
== Using the translation in ScummVM ==


ScummVM does not use the po files directly. They need to be transformed into a ''translations.dat'' file instead. To use or test your translation you will therefore need regenerate that file. This involves the following steps:
ScummVM does not use the po files directly. They need to be transformed into a ''translations.dat'' file instead. To use or test your translation you will therefore need regenerate that file.
 
=== Generate Translations Data file outside of ScummVM code repository ===
This is the simplest option. Simply grab below one or the pre-compiled binary for the creation tool or compile it yourself. If you want to compile it yourself, you can get the source code from the [http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/ ScummVM source code repository] (in tools/create_translations/).
* [http://wiki.scummvm.org/images/7/75/Create_translations_windows.zip create_translations tool for Windows]
* [http://wiki.scummvm.org/images/8/83/Create_translations_mac_10.6.zip create_translations tool for MacOS X Snow Leopard]
* [http://wiki.scummvm.org/images/c/cf/create_translations_ubuntu_10.04.zip create_translations tool for Linux Ubuntu 10.04]
 
Then place the creation tool and all the po translations files you want to include in the generated data into the same directory and run the following command on the command line:
./create_translations *.po
 
For Windows you can simply run the included bat file.
 
This will generate a translations.dat file that you need to place in your ScummVM Theme path.
 
=== Generate Translations Data file from ScummVM code repository ===
This involves the following steps:
# Get ScummVM source code if you don't already have it.
# Get ScummVM source code if you don't already have it.
# Make your translation available
# Make your translation available
TrustedUser
2,147

edits

Navigation menu