Optimize getAvailableLanguages
Merge pull request #1 from mlocati/multilingul-langs-optimized

Optimize getAvailableLanguages