SwiftMoment
SwiftMoment copied to clipboard
Check non EN language support for Regions
@twairball pointed out that 2 letter Language abbreviations won't work with other languages like zh-Hant_US?
We should look at a better way to solve this problem. I also don't know if the Bundle solution is the best solution either. It might be better to consider i18n strings.
After some testing, I think chopping off the region (e.g. _US
), if it exists (for ios9+), is an okay fallback. It is hacky and prone to Apple changing again. But it will guarantee a fallback.
Bundle solution is "least surprise" but considering how most app developers skip formal localization it will likely result in plain old en
I think since the problem is ""
happening, an option for default locale could also be appropriate?