<html><body><div style="font-family: courier new,courier,monaco,monospace,sans-serif; font-size: 12pt; color: #000000"><div><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;"><div dir="ltr"><div style="font-size:12.8000001907349px">Hi !</div><div style="font-size:12.8000001907349px">My name is Axel Rousseau, i'm member of the esperanto team to translate KDE.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I need some help to configure my zanata.xml to find my .po files</div><div style="font-size:12.8000001907349px">I've a lot of files to translate and the name of the file is : my_path/my_file.po</div><div style="font-size:12.8000001907349px">(and not my_path/my_file/locale.po)</div><div style="font-size:12.8000001907349px">i don't understand how to configure the rules tag in the zanata.xml file</div><div style="font-size:12.8000001907349px">I read the documentation here : <a href="http://zanata.org/help/cli/cli-configuration/" target="_blank">http://zanata.org/help/cli/cli-configuration/</a><br data-mce-bogus="1"></div><div style="font-size:12.8000001907349px">and i don't understand the example : </div><div style="font-size:12.8000001907349px"><rules>   </div><div style="font-size:12.8000001907349px">  <rule pattern="**/pot/*.pot">{locale}/{path}/{filename}.po</rule>   </div><div style="font-size:12.8000001907349px">  <rule pattern="**/po/*.pot">{path}/{locale_with_underscore}.po</rule> </div><div style="font-size:12.8000001907349px"></rules></div><div style="font-size:12.8000001907349px">what's mean the pattern ?</div><div style="font-size:12.8000001907349px">why are they 2 lines ? (**/pot/*.pot and **/po/*.pot) ?</div></div></blockquote><div><br></div><div>The first line is for podir (documentation like projects)<br></div><div>The second line is for conventional gettext project, like GNU Tar and most of other FOSS software.<br></div><div><br></div><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;"><div dir="ltr"><div style="font-size:12.8000001907349px">I success to upload (push) with the zanata-cli the source files (the .pot files), but i didn't succes to push the translation files (the .po)</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">here are my zanata.xml file :</div><div style="font-size:12.8000001907349px"><?xml version="1.0" encoding="UTF-8" standalone="yes"?></div><div style="font-size:12.8000001907349px"><config xmlns="<a href="http://zanata.org/namespace/config/" target="_blank">http://zanata.org/namespace/config/</a>"></div><div style="font-size:12.8000001907349px">  <url><a href="https://translate.zanata.org/zanata/" target="_blank">https://translate.zanata.org/zanata/</a></url></div><div style="font-size:12.8000001907349px">  <project>kde-eo</project></div><div style="font-size:12.8000001907349px">  <project-version>kdeedu</project-version></div><div style="font-size:12.8000001907349px">  <project-type>gettext</project-type></div><div style="font-size:12.8000001907349px">  <src-dir>templates/messages/kdeedu</src-dir></div><div style="font-size:12.8000001907349px">  <trans-dir>eo/messages/kdeedu</trans-dir></div><div style="font-size:12.8000001907349px">  <locales></div><div style="font-size:12.8000001907349px">    <locale>eo</locale></div><div style="font-size:12.8000001907349px">  </locales></div><div style="font-size:12.8000001907349px">  <rules></div><div style="font-size:12.8000001907349px">    ??? what should i write here ???</div><div style="font-size:12.8000001907349px">  </rules></div><div style="font-size:12.8000001907349px"></config></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">and my files are like :</div><div style="font-size:12.8000001907349px">eo/messages/kdeedu/kalzium.po</div><div style="font-size:12.8000001907349px">eo/messages/kdeedu/artikulate.po</div><div style="font-size:12.8000001907349px">...</div></div></blockquote><div><br></div><div>We also need your source file (.pot)<br></div><div>If you can provide the source repository URL, we can provide further help.<br></div><div>(I kinda feel that your life might get easier if you use project-type "podir")<br></div><div><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Ding-Yi Chen<br>Software Engineer<br>Internationalization Group<br>DID: +61 7 3514 8239<br>Email: dchen@redhat.com<br><div><br></div>Red Hat, Asia-Pacific Pty Ltd<br>Level 1, 193 North Quay<br>Brisbane 4000<br>Office: +61 7 3514 8100<br>Fax: +61 7 3514 8199<br>Website: www.redhat.com<br><div><br></div>Red Hat, Inc.<br>Facebook: Red Hat APAC | Red Hat Japan | Red Hat Korea | JBoss APAC<br>Twitter: Red Hat APAC | Red Hat ANZ<br>LinkedIn: Red Hat APAC | JBoss APAC<span name="x"></span><br></div></div></body></html>