Matej Urbančič írta:
Hello,
I'd like to check translations of gnome HELP files, but have no idea
where to put the mo file!
Can some shed some light? In /usr/share/gnome/help/ are only xml files.
You don't need to put mo files anywhere.
You have to merge the translations in the po file to an xml file, and
open that xml with yelp to test the translation. See also xml2po --help.
For example, if I want to test gedit's Hungarian help, I have to do this:
ga...@gabor-desktop:~/tmp/gedit$ xml2po -p help/hu/hu.po
help/C/legal.xml > legal.xml
ga...@gabor-desktop:~/tmp/gedit$ xml2po -p help/hu/hu.po
help/C/gedit.xml > gedit.xml
ga...@gabor-desktop:~/tmp/gedit$ yelp file:/home/gabor/tmp/gedit/gedit.xml
~/tmp/gedit contains a git tree of gedit.
If there are more than one original xml files, you need to generate
translated xml from all of them. It may be more convenient to build
these files with the project's build tools - like running ./autogen.sh
&& cd help && make.
Regards
Gabor Kelemen
_______________________________________________
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n