You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I think there may be a bug here where we should consume the developer language before consuming all of the other languages in the project. You can work around this issue for now by consuming just app/src/main/res/values/strings.xml before you consume everything else.
For example:
echo "" > twine.txt
twine consume-localization-file twine.txt app/src/main/res/values/strings.xml --format android --developer-language en --lang en --consume-all --consume-comments
twine consume-all-localization-files twine.txt app/src/main/res/ --format android --developer-language en --consume-all
I'm trying it out twine for the first time. I have an already existing Android project containing texts in English and French.
The folders are organized in the standard Android way:
app/src/main/res/values/strings.xml
app/src/main/res/values-fr/strings.xml
I execute this command:
I get
Adding new definition 'xyz' to twine file.
for each key but alsoWarning: xyz does not exist in developer language 'en'
for each key.Then when I look at the
twine.txt
file, I only havefr
texts.Thanks for your help.
The text was updated successfully, but these errors were encountered: