Implement LanguagesManager for locales macro