1 - i removed the gettext import
2 - i can't figure out what's the best way to do it? maybe creating a cache array when you run the init-ld command, then we have just to look if the language code is in this array instead of reading all the directories in "locale".
1 - i removed the gettext import
2 - i can't figure out what's the best way to do it? maybe creating a cache array when you run the init-ld command, then we have just to look if the language code is in this array instead of reading all the directories in "locale".