Issue
I want to generate a signed apk and get following error:
Error:(65) Error: "..." is not translated in "en" (English) [MissingTranslation]
My projects ONLY contain default folders (no addon for an language) like values
folder for example and ONE language, which is german (meaning, I have an values-de
folder)
My default language is english, so all resources that do not belong to a special language should be the english ones.
QUESTIONS
Why is android studio telling me, it's missing the en
language, although I don't have a single en-folder? Maybe an en-folder is part of a gradle import? Can I somehow exclude them? Actually, I don't know where the en
comes from as I don't use it anywhere...
EXAMPLE
I only have values
and values-de
folder!
In values
I have following:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="pause_alarms">
<item>Silent</item>
<item>Vibrate</item>
<item>Sound</item>
<item>Vibrate + Sound</item>
</string-array>
</resources>
In values-de
I have following:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="pause_alarms">
<item>Leise</item>
<item>Vibrieren</item>
<item>Ton</item>
<item>Vibrieren + Ton</item>
</string-array>
</resources>
Solution
I don't know where the en
comes from, but if I define the language of my default resources in the xml file like following
<resources
xmlns:tools="http://schemas.android.com/tools"
tools:locale="en">
the error disappears...
Probably, I just guess, some gradle imports have the en
folder...
Answered By - prom85
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.