Correct formatting of locale to make it compatible with l10n (safari issue)