android - How do I propagate changes from my main strings.xml to localized copies? -


i created localized copy of strings.xml , translated strings. however, went main strings.xml make changes. there easy way propagate changes downstream translated xml files without losing translation?

android studio 1.3.2

thanks in advance help!


e.g.
original strings.xml

<string name="order_summary_name">"name: "</string> 

original zh/strings.xml

<string name="order_summary_name">"名字: "</string> 

modified strings.xml

<!--   name order summary. shown in format of "name: amy" amy   user's name. [char limit=none] --> <string name="order_summary_name">name: <xliff:g id="ordername" example="amy">%s</xliff:g></string> 

edit: @bdr looks there's no first party android studio method propagate localization changes downstream. suggestion.

the way i've done keep track of strings in separate spreadsheet, , generate strings.xml files there using macro.

that way can update edit , insert strings more easily, because easy remove line or spot blank cells.

see example excel file or see question on here more details.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -