get the application's resources languages

android

Solution

AssetManager.getLocales() is actually the way to do this. However, from the public API every AssetManager you create also has the framework resources included in its search path... so when you call AssetManager.getLocales() you will also see any locales that are part of the framework resources. There is no way to get around this with the SDK, sorry.

Problem

Is it possible, at runtime, to know which resources languages are embedded in my app? i.e the presence of this folders: ``` values-en values-de values-fr ... ```

Original source