In My Application I have two product flavours, flavour1 and flavour2.
I also have language Files for 4 Languages: German, English, French and Spanish
My problem is:
- In flavour1 the default language is German
- In flavour2 the default language is English
My current solution is:
I put the German strings.xml
in
flavour1/res/values/strings.xml
flavour2/res/values-de/strings.xml
And the English files in
flavour1/res/values-en/strings.xml
flavour2/res/values/strings.xml
So I have both files twice in my project.
how can I solve this so that I have each file only once in the project?