[OpenStack-I18n] Translation script challenges
Alex Eng
aeng at redhat.com
Mon Apr 11 00:31:32 UTC 2016
>
> Does anybody have a better idea on how to fix these two problems? Or a
> better way to write the rules above for this?
zanata-cli does not look outside of srcdir. So the solution would be target
whichever directory that is in higher structure.
I think your solution is the best approach so far to solve this issue.
> Alex, is there a way to not lose the content when this change is done
> since it will rename the translation files?
The renaming of files will definitely lose their translation content
(Zanata will mark the document obsolete).
If renaming of files happens, then we will need to do zanata:pull, rename
all files and zanata:push as you suggested.
This process shouldn't be a problem if there's constant syncing of
translation files (as backup) and we can always attached the last pulled
translation files.
>From Zanata point of view, there is actually a feature to copy translations
however I don't recommend to use it unless you're really sure.
http://docs.zanata.org/en/release/user-guide/translation-reuse/copy-trans/
---------------------------------------------
Alex Eng
Senior Software Engineer
Globalisation Tools Engineering
DID: +61 3514 8262 <callto:+61+3514+8262>
Mobile: +614 2335 3457 <callto:+614+2335+3457>
Red Hat, Asia-Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane 4000
Office: +61 7 3514 8100 <callto:+61+7+3514+8100>
Fax: +61 7 3514 8199 <callto:+61+7+3514+8199>
Website: www.redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-i18n/attachments/20160411/a3889acf/attachment.html>
More information about the OpenStack-I18n
mailing list