Skip to content

Importing an Android project for the first time: only French is imported #239

@BoD

Description

@BoD
$ twine --version
Twine version 1.0.3

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:

  • English texts in app/src/main/res/values/strings.xml
  • French texts in app/src/main/res/values-fr/strings.xml

I execute this command:

echo "" >twine.txt
twine consume-all-localization-files twine.txt app/src/main/res/ --format android --developer-language en --consume-all --consume-comments

I get Adding new definition 'xyz' to twine file. for each key but also Warning: xyz does not exist in developer language 'en' for each key.

Then when I look at the twine.txt file, I only have fr texts.

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions