[zanata-users] Zanata Java properties file workflow
Jasper Siepkes
siepkes at serviceplanet.nl
Wed Apr 22 08:48:45 UTC 2015
Hi all,
I've been playing around with Zanata and I really like it! I've got the hang of
most of the basics but one thing eludes me:
Let say I have a "MessageResources.properties" file which I consider the
translation source. The base language of this file is Dutch (nl-NL).
So my layout is like this:
Source translation file: src/main/string/MessageResources.properties
Sample target translation file:
src/main/resources/MessageResources_nl_NL.properties
My zanata.xml is configured as follows:
----8<-------------------------------
<url>https://internal.foo.bar/</url>
<project>foo-project</project>
<project-version>master</project-version>
<project-type>utf8properties</project-type>
<src-dir>src/main/strings/</src-dir>
<trans-dir>src/main/resources/</trans-dir>
<locales>
<locale>nl-NL</locale>
</locales>
----8<-------------------------------
Now when I run:
$ zanata-cli push --src-lang nl-NL
$ zanata-cli push --push-type trans --src-lang nl-NL
I would expect that the keys and translations get added to zanata. However all
the keys (and document) get added to Zanata but none of the translations are
there. Am I making some kind of error in my thinking in the way I should work
with Zanata or is this a bug?
Kind regards,
Jasper
More information about the zanata-users
mailing list