[Gimp-docs] Merged xml2po and migrated content
Ulf-D. Ehlert
ude88 at web.de
Mon Dec 22 12:32:41 PST 2008
julien (Montag, 22. Dezember 2008, 15:28):
> No problem to work on po and pot files with kate or KBabel : a lot of
> work in almost all files...
> Makefile.GNU must be renamed to Makefile before running "make
> xml-fr".
Try "make -f Makefile.GNU" ...
> My problem:
> I have some xml files in an "old" SVN copy that were ready for
> committing before the migration. For instance, I completely rebuilt
> the menus/file-open.xml file (en;fr).
> How to extract the english xml file in order to create the
> corresponding pot file (not with copy-paste of course)?
Work in a temporary directory where you can test anything, e.g.
mkdir -v /tmp/gimp-help && cd /tmp/gimp-help
Copy tools and stylesheets as well as your changed old-style
sourcefile(s), e.g.:
cp -ai /path/to/svn/files/{tools,stylesheets} . # note the "."
mkdir -vp src/menus
cp /path/to/changed/xml/files/src/menus/file-open.xml src/menus/
Then try to invoke the migrating script:
LINGUAS="fr" tools/migrate.sh
and ignore any complaints about missing glossary etc.
Then you should have a new directory "oldsrc" containing your edited xml
files and new directories "src", "pot", "po" (and "xml").
Try
find scr pot po -type f
and compare these files with the corresponding SVN files.
HTH,
Ulf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : /lists/gimp-docs/attachments/20081222/3b6a5a96/attachment.bin
More information about the Gimp-docs
mailing list