fix(l10n): normalize locale name when generating json strings