String 'xyz' is marked as untranslated, but exists in the locale 'ja'

enter image description here I am developing an application in android, I have different lines in the strings.xml file. I want to localize strings, supporting multiple languages.

The problem is that I get the following error: warning: the line 'enthu' is marked untranslatable, but exists in locale 'ja' in the strings.xml file on this line:

<string name="enthu" translatable="false">Enthusiasm</string> 

If I change translatable to true, the error goes, but I made it false for the necessary reason.

I have tried the following things:

  • Ignore checking all lints.
  • The following is added to my strings.xml file.

XMLNS: tools = "http://schemas.android.com/tools" tools: ignore = "MissingTranslation"

  1. Clear assembly miscellaneous, restart eclipse.
  2. In particular, the missing translation in the lint check is ignored, and then the lint for errors is executed.

But every time I failed. I am using Ubuntu 32Bit, ADT 04/23/14.

This error looks very unusual for me, since I also ignore the warnings of lint. Kindly help. I can not build my src.

+6
source share

Source: https://habr.com/ru/post/981396/


All Articles