L.gmxLocale refactoring