Re: Testing help files
- From: Gabor Kelemen <kelemeng gnome hu>
- To: Matej Urbančič <mateju svn gnome org>
- Cc: GNOME i18n list <gnome-i18n gnome org>
- Subject: Re: Testing help files
- Date: Tue, 02 Mar 2010 13:09:30 +0100
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:
gabor gabor-desktop:~/tmp/gedit$ xml2po -p help/hu/hu.po
help/C/legal.xml > legal.xml
gabor gabor-desktop:~/tmp/gedit$ xml2po -p help/hu/hu.po
help/C/gedit.xml > gedit.xml
gabor 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]