Refactoring for export: Get languages list in common way