Seraphim's
Seraphim's

Reputation: 12768

Android Studio Translation Editor show missing translations (but is not true!)

Strange effect when updating string resource file with the external tool SmartGIT. Here what I see from the Translation Editor:

enter image description here

But if I check in the resource file both strings are translated in German (de):

enter image description here

Rebuilding the project has no effect.

Upvotes: 3

Views: 864

Answers (1)

Findns
Findns

Reputation: 752

This is a recurring issue for me since switching to Android Studio 3.1.

I have branches with different languages supported, and when switching back and forth it seems the cache gets corrupted, and Android Studio fails to scan the other resources directory.

In most cases, "File --> Invalidate caches / Restart... --> Invalidate and Restart" seems to fix it.

Upvotes: 6

Related Questions