smarteist/Pot-Translator

feature request: preserve comments from source POT

Opened this issue · 0 comments

klokie commented

Hi, this looks like an interesting project – thanks for sharing!

I'm not able to use it in its current state, however. The project I'm trying to translate uses standard format ID strings like "ACCOUNT_CHANGE_CREDENTIALS_HEADING" and "SNACKBAR_DISMISS_LABEL" in order to coordinate multilingual development, and the strings to be translated are in the msgstr field. I tried preserving the formatted ID strings in comments by prefixing them with #. but then they get removed by the Pot-Translator tool. Is there an easy way to preserve these?
Or, better yet, can you recommend a good way to translate form one language to another, preserving the msgid field and using the content of the msgstr field as the source of the translation?

thanks