updateToRecommendedCase
Stentor API Reference / stentor-locales/src / updateToRecommendedCase
Function: updateToRecommendedCase()
updateToRecommendedCase(
dirty):Locale
Defined in: packages/stentor-locales/src/updateToRecommendedCase.ts:14
Updates a language code to the recommended case, lower case language codes and upper case country codes.
NOTE! Only tags that consist of language-CountryCode are supported, others will be passed through.
Parameters​
dirty​
string