mirror of https://github.com/snes9xgit/snes9x.git
Update TRANSLATING.txt
This commit is contained in:
parent
e49165c560
commit
b488e426b3
|
@ -1,15 +1,10 @@
|
||||||
To add a new language or update the existing ones:
|
To add a new language or update the existing ones:
|
||||||
|
|
||||||
If your language isn't here, add it to the LINGUAS file.
|
Generate the template file:
|
||||||
|
Change to the gtk directory and run 'xgettext -f po/POTFILES.in -o po/snes9x-gtk.pot'
|
||||||
|
This will update the snes9x-gtk.pot file in this directory with the latest strings.
|
||||||
|
|
||||||
Use meson in the gtk directory to create the build files, ie:
|
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.
|
||||||
$ meson build
|
|
||||||
|
|
||||||
Change to the build directory and run 'ninja snes9x-gtk-update-po'
|
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:
|
||||||
$ cd build
|
foreach(lang es fr ...
|
||||||
$ ninja snes9x-gtk-update-po
|
|
||||||
|
|
||||||
This will update all the .po files in this directory with the latest strings
|
|
||||||
and create any new files for those in LINGUAS.
|
|
||||||
|
|
||||||
Use any method desired to translate the strings in the .po file.
|
|
||||||
|
|
Loading…
Reference in New Issue