<div dir="ltr">Hi list,<div><br></div><div>I'm in branch ovirt-engine-3.3, so I used the zanata-cli to pull property files from ovirt's zanata repo: <a href="https://translate.zanata.org/zanata/iteration/view/ovirt/ovirt-3.3" style="font-family:arial,sans-serif;font-size:14px" target="_blank">https://translate.zanata.org/zanata/iteration/view/ovirt/ovirt-3.3</a></div>
<div>My steps:</div><div>1. download po files</div><div>2. config ~/.config/zanata.ini</div><div>3. config zanata.xml like this:</div><div><br></div><div><div><?xml version="1.0" encoding="UTF-8" standalone="yes"?></div>
<div><config xmlns="<a href="http://zanata.org/namespace/config/">http://zanata.org/namespace/config/</a>"></div><div> <url><a href="https://translate.zanata.org/zanata/">https://translate.zanata.org/zanata/</a></url></div>
<div> <project>ovirt</project></div><div> <project-version>ovirt-3.3</project-version></div><div> <!-- <project-type>utf8properties|properties|gettext|podir|xliff|xml|file</project-type> --></div>
<div><br></div><div> <locales></div><div> <locale map-from="zh_CN">zh-Hans-CN</locale></div><div> </locales></div><div><br></div><div></config></div></div><div><br></div><div>4. execute "pull -s {po files directory} -t {ovirt engine direstory} --project-type properties"</div>
<div><br></div><div>But after I use zanata-cli pull command, I get property files named with package name, like the following:</div><div><br></div><div><div>$ git status</div><div># On branch ovirt-engine-3.3</div><div># Changes not staged for commit:</div>
<div># (use "git add <file>..." to update what will be committed)</div><div># (use "git checkout -- <file>..." to discard changes in working directory)</div><div>#</div><div>#<span class="" style="white-space:pre">        </span>modified: frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums_zh_CN.properties</div>
<div>#<span class="" style="white-space:pre">        </span>modified: packaging/branding/ovirt.brand/messages_zh_CN.properties</div><div>#</div><div># Untracked files:</div><div># (use "git add <file>..." to include in what will be committed)</div>
<div>#</div><div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.common.CommonApplicationConstants_zh_CN.properties</div>
<div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.common.CommonApplicationMessages_zh_CN.properties</div><div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.uicompat.SpiceRedKeys_zh_CN.properties</div>
<div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.uicompat.UIConstants_zh_CN.properties</div><div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.uicompat.UIMessages_zh_CN.properties</div>
<div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.userportal.ApplicationConstants_zh_CN.properties</div><div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.userportal.ApplicationMessages_zh_CN.properties</div>
<div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.webadmin.ApplicationConstants_zh_CN.properties</div><div>#<span class="" style="white-space:pre">        </span>frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/org.ovirt.engine.ui.webadmin.ApplicationMessages_zh_CN.properties</div>
<div>no changes added to commit (use "git add" and/or "git commit -a")</div></div><div><br></div><div>I only see messages_zh_CN.properties and LocalizedEnums_zh_CN.properties are properly named, but not the rest property files.</div>
<div>I noticed many translation po files under zanata project are all named with package name.</div><div>So is this right ?</div><div><br></div><div>thanks for your attention.</div></div>