Context turn into comments on export\import terms to android repo
When I synced GitHub repo for the first time with POEditro I faced an issue that all of the terms I had were duplicated because they didn't have a context. Iv deleted all of the duplicated terms in POEditor and in the Android project as well but when I exported terms from repo for the second time I faced the same issue but now duplicated terms had a comment instead of context. And my question is how do I fix this issue so I won't need to delete duplicated terms every time I sync my project with POEditor?
-
If you move the context to comment, the problem is solved.
-
Vlad Zbuker
commented
so there is no option to avoid duplicating terms with context on android repo sync ?
-
Android language files do not have the Context attribute. So, when someone forces an export of a term with context, we still put it in the file as a comment (which Android supports). When you import the same file, we proceed as expected: take the comment and put in the comment section and we add the term as a new one, if there is no identical one found. The thing is that identical means that term+context are the same. So when we import a term with a string in comment against the same term with the same string in the context, we do not consider it the same term.
Please put the explanations or other notes in the comments for Android.