In some project we can have this situation
How to get programmatically list of supported languages by this app/project? As the result I need string array like this
{ "en", "bg", "bs", "da", "de", "hr", "it", "nl", "pl", "pt", "sk", "sr", "tr" }
Of course I can hardcode it by typing it but I suppose code can and should do it.
And why I need it - I have a separate library that deals with localization, instant change of UI after selecting new language etc. App must tell library which languages it supports. And it's nice just to add new xml for a new language without changing code (updating that hardcoded list).