Re: Testing help files



Hi,

Does anyone know how to proceed with mallard documents, like the one for empathy-help with .page extension? Is there a simple way of converting a .po file into .page files? I'd like to test my empathy translation.

Regards,

Alex


Dnia 2010-03-02, wto o godzinie 13:09 +0100, Gabor Kelemen pisze:
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
_______________________________________________
gnome-i18n mailing list
gnome-i18n gnome org
http://mail.gnome.org/mailman/listinfo/gnome-i18n



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]