Open main menu

Difference between revisions of "HOWTO-Translate ScummVM GUI"

m
Add instructions for create_translations.exe *.po *.cp when codepages present
m (Add instructions for create_translations.exe *.po *.cp when codepages present)
Line 25: Line 25:
== 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.
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 to regenerate that file.


=== Generate Translations Data file outside of ScummVM code repository ===
=== Generate Translations Data file outside of ScummVM code repository ===
Line 36: Line 36:
  ./create_translations *.po
  ./create_translations *.po


For Windows you can simply run the included bat file.
If you have codepages present in po - which enable other charsets from languages, you will also need to include it as a command-line argument, along with *.po, like this:
./create_translations *.po *.cp
 
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.
This will generate a translations.dat file that you need to place in your ScummVM Theme path.