Comment
This commit is contained in:
@@ -144,6 +144,7 @@ export const defaults: Schema = {
|
|||||||
postLanguageHistory: (deviceLanguageCodes || [])
|
postLanguageHistory: (deviceLanguageCodes || [])
|
||||||
.concat(['en', 'ja', 'pt', 'de'])
|
.concat(['en', 'ja', 'pt', 'de'])
|
||||||
.slice(0, 6),
|
.slice(0, 6),
|
||||||
|
// try full language tag first, then fallback to language code
|
||||||
appLanguage: findSupportedAppLanguage([
|
appLanguage: findSupportedAppLanguage([
|
||||||
deviceLocales[0].languageTag,
|
deviceLocales[0].languageTag,
|
||||||
deviceLanguageCodes[0],
|
deviceLanguageCodes[0],
|
||||||
|
|||||||
Reference in New Issue
Block a user