generated from Seekra/repository-template
Add current language utility unit test #106
Reference in New Issue
Block a user
Delete Branch "testing/current-language-util"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current language utility unit test
Add a unit test for the current language utility (
src/utils/currentLanguage.js).Summary
navigator.language(according to the test cases)localeitem (according to the test cases)en), locales with country codes (e. g.en-US), locales with writing system and country code (e. g.zh-Hans-CN) and locales with extension (e. g.en-US-u-ca-gregory)Related issues
Closes: #83
c42d650302to7d15d29409