Attached are some scripts to extract, update and merge the translations of RKWard help files. The scripts need po4a installed.
produces POT template file in locales subfolder of the /pages folder with rkh files.
updates PO file in /locales or all PO files if run without argument.
produces ready to use localized docs for the given locale or for all available locales if run without arguments.
Localization can be made in two ways:
Separate folder for every locale (usual scheme for KDE, GNOME, etc., that's how the attached scripts work), help files are loaded from the subfolder of the current locale.
All files in one folder, translations have additional _locale suffix in names (that's how Inkscape translation works, needs some minor tweaking of the scripts.