lbry-desktop/ui/constants/supported_sub_languages.js
infiinte-persistence ad0d96328b Add ability to support language subsets, with only CT and CS enabled for now.
CT - Chinese Traditional
CS - Chinese Simplified

Note that if English subsets like en-GB is enabled in the future, the default 'en' value used throughout the code (including in redux.git) needs to be changed to 'en-US'.
2020-07-08 14:25:14 -04:00

8 lines
156 B
JavaScript

// https://www.electronjs.org/docs/api/locales
export const SUB_LANG_CODE_LEN = 5;
export const SUPPORTED_SUB_LANGUAGE_CODES = [
'zh-CN',
'zh-TW',
];