mirror of https://github.com/snes9xgit/snes9x.git
11 lines
625 B
Plaintext
11 lines
625 B
Plaintext
To add a new language or update the existing ones:
|
|
|
|
Generate the template file:
|
|
Run the shell script "updatepot.sh" or change to the gtk directory and run 'xgettext -f po/POTFILES.in -o po/snes9x-gtk.pot -kmaybegettext'.
|
|
This will update the snes9x-gtk.pot file in this directory with the latest strings.
|
|
|
|
Use the program 'poedit' to use this template and create a new translation or merge the template's new strings into an existing .po file.
|
|
|
|
To automatically build the message catalog and install with the program, add the language code to the list on the line in gtk/CMakeLists.txt beginning with:
|
|
foreach(lang es fr ...
|