Hi Milo,

thanks for help. I'll try it today, and will report how it works for me.
If you were so kind and could share your script, I'd be grateful. I
discovered in the meantime that placing the translated .page files into
corresponding folder in /usr/share/gnome/help/etc. allows yelp to open
them fine. And yes, I think writing down these instructions somewhere is
a great idea.

Regards,

Alex

Dnia 2010-03-02, wto o godzinie 15:28 +0100, Milo Casagrande pisze: 

> Hi Aleksander,
> 
> 2010/3/2 Aleksander Łukasiewicz <[email protected]>:
> >
> > Seems to work this way, but I would like to convert multiple files (there
> > are over 40 .page files in the empathy help folder). Is there a way to do
> > it?
> 
> When I need to test translations I use a small hand-made script that
> for every .page file in C, it creates the corresponding translated
> .page file.
> Unfortunately I don't have the script here with me at the office, but
> it goes in something like this:
> 
> for i in `ls PATH_TO_FILES` do
> xml2po -p TRANSLATION_FILE.po PATH_TO_FILES/$i > PATH_TO_LOCALIZED_DIR/$i
> done
> 
> (plus some tests to check if it's a file or not)
> 
> > Additionally, I cannot open the .page file with yelp. "yelp index.page"
> > doesn't open the file. How can I open the .page files with yelp?
> 
> You don't have to provide Yelp with the file name, just do, if you are in
> the C directory:
> yelp ./
> 
> or:
> yelp `pwd`/
> 
> I just have to provide Yelp with the path to the directory containing
> the index.page.
> 
> (probably these instructions should be written down under the
> DocumentationProject on l.g.o...)
> 
> Hope it might help.
> 
> Ciao.
> 


_______________________________________________
gnome-i18n mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-i18n

Reply via email to