zigomir / transync

Sync xliff and gdoc translations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the tool doesn't support multiple files in XLIFF

Gutty1 opened this issue · comments

In cases the input XLIFF file contains string from different files (storyboards, XIB's, etc..)
When running the transync g2x option, the resulting updated XLIFF file get corrupted since takes all the strings like they were in only 1 file instead of ordering by file. Also the xcode header is removed

original XLIFF file created by xcode in german looks like:

${PRODUCT_NAME} ${PRODUCT_NAME} 1.5 ${PRODUCT_NAME}

English file after the transync g2x runned looks like:

${PRODUCT_NAME} ENTR 1.5 1.5 Cancel Cancel
commented

I see. I don't use this tool any more for quite some time, so I recommend you to just fork it and customize it to do what you need it to do.

If you want you can also open a PR and I'll release a new gem version ;)