You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
getLanguageBundle is returning nil. Strangely, locale.identifier is returning zh-TW, without the "Hant".
The 2nd part of getLanguageBundle therefore only get the language code as zh.
Since now the bundle only has zh-Hant, no localized string is found.
Context
Localization does not work for Taiwan app users.
Possible Implementation
I believe another fallback using Bundle to load will work.
Your Environment
Version used: 0.7
Operating System and version: 11.2
Link to your project: -
The text was updated successfully, but these errors were encountered:
samwize
changed the title
Device using Traditional Chinese in Taiwan (zh-Hant-TW) region returning empty string
Device using Traditional Chinese in Taiwan (zh-Hant-TW) returning empty string
Jan 25, 2018
Detailed Description
getLanguageBundle
is returning nil. Strangely,locale.identifier
is returningzh-TW
, without the "Hant".The 2nd part of
getLanguageBundle
therefore only get the language code aszh
.Since now the bundle only has
zh-Hant
, no localized string is found.Context
Localization does not work for Taiwan app users.
Possible Implementation
I believe another fallback using Bundle to load will work.
Your Environment
The text was updated successfully, but these errors were encountered: