<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hello Fernando,<br></div><div><br></div><div>I suspect you are getting the trans-dir option (in zanata.xml it's <trans-dir> and if given by maven argument it's -Dzanata.transDir) wrong. Take a look at this mail thread <a href="https://www.redhat.com/archives/zanata-users/2015-April/msg00010.html">https://www.redhat.com/archives/zanata-users/2015-April/msg00010.html</a> <br></div><div><br></div><div>When you push, it will log out all the information. For example:<br></div><div>[INFO] Zanata command: push<br>[INFO] Server: https://translate.zanata.org/zanata/<br>[INFO] Project: zanata-server<br>[INFO] Version: master<br>[INFO] Username: pahuang<br>[INFO] Project type: properties<br>[INFO] Source language: en-US<br>[INFO] Copy previous translations: true<br>[INFO] Merge type: auto<br>[INFO] Enable modules: false<br>[INFO] Include patterns: zanata-war/src/main/resources/messages.properties<br>[INFO] Exclude patterns: <br>[INFO] Case sensitive: true<br>[INFO] Default excludes: true<br>[INFO] Exclude locale filenames: true<br>[INFO] Pushing source and target documents<br>[INFO] Locales to push: [ar, as, bg, bn-IN, ca, cs, da, de-CH, de-DE, el, en-GB, es-ES, es-MX, fa, fi, fr, gu, he, hi, hr, hu, id, is, it, ja, kn, ko, lv, ml, mr, ms, nb, nl, or, pl, pt-PT, pt-BR, ru, si, sk, sr-Cyrl, sr-Latn, sv, ta-IN, te, th, tr, uk, zh-Hans-CN, zh-Hant-TW(zh-TW-Hant), af, am, az, bn-BD, cy, eo, et, eu, ga, gl, ka, lt, nn, ro, sl, sq, vi, ast, bs, nds, ky, la, mn, tl, xh, pa, mai, es, de, brx, ta, br, kk]<br>[INFO] Current directory: /home/pahuang/work/root/server<br>[INFO] Source directory (originals): /home/pahuang/work/root/server<br>[INFO] Target base directory (translations): /home/pahuang/work/root/server<br></div><div>[INFO] Found source documents:<br>[INFO]            zanata-war/src/main/resources/messages</div><div><br></div><div>Take a look at your "Target base directory (translations):" value. For each found source document, Zanata will expect its translation file to be at "trans-dir + found source document relative path + plus locale + plus file extension". e.g. for translation file of our messages.properties document in de-DE, it will expect to see a file under "/home/pahuang/work/root/server/zanata-war/src/main/resources/messages_de_DE.properties". <a href="http://docs.zanata.org/projects/zanata-client/en/latest/">http://docs.zanata.org/projects/zanata-client/en/latest/</a> has more detail information. Let me know if you still couldn't work out how to get it to work.<br></div><div><br></div><div>Regards,<br></div><div><span name="x"></span>Patrick Huang<br>Senior Software Engineer<br>Engineering - Internationalisation<br>Red Hat<span name="x"></span><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Fernando Madruga Pinheiro" <fernando.pinheiro@gmail.com><br><b>To: </b>zanata-users@redhat.com<br><b>Sent: </b>Thursday, June 4, 2015 8:01:48 AM<br><b>Subject: </b>[zanata-users] Import project: how to upload already translated        languages<br><div><br></div><div dir="ltr">Hi,<div><br></div><div>I'm working on i18n on our project. It is already on market and translated to 3 languages.</div><div>All was done directly in properties file for each language, but now we want to review the translated strings and be able to work in groups, specially translators that don't know how to checkout/commit/update on a CVS.</div><div><br></div><div>We've installed on our servers the zanata project and I was able to create a project, version, upload base strings through maven, and then download the translated ones to the correct places.</div><div>This was done in one project, and is working really fine.</div><div><br></div><div>The downside is that I wasn't able to upload the already translated files. In this case, as a proof of concept, I re-translated all strings (about ~400).</div><div><br></div><div>But now I have larger projects, and those are the ones that we really need to translate, and have more than 4k strings.</div><div>I've tried "mvn zanata:push" with pushType=both, trans and so on, but no success. It always upload only the base strings.</div><div>I thought that maybe it does import only on first upload, so I've created a new test project and did the command there, but the same results: only original file was uploaded and translations were in 0%.</div><div><br></div><div>How should I do to import the strings and start using zanata? What am I missing?</div><div><br clear="all"><div><div class="gmail_signature">Fernando Madruga Pinheiro</div></div></div></div><br>_______________________________________________<br>zanata-users mailing list<br>zanata-users@redhat.com<br>https://www.redhat.com/mailman/listinfo/zanata-users</blockquote><div><br></div></div></body></html>