diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-11-11 16:55:05 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-11-11 16:57:35 +0300 |
commit | 2cfff242f9174d9e88f5ce37458ca09c1f884c4e (patch) | |
tree | f39ce66b98d997ff510c0d4a327b600fb861e546 /src | |
parent | ecc492410d66867ce74560597ce69556929aad1f (diff) |
add French (Switzerland) and Italian (Switzerland) as special case
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/helpers/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/helpers/index.js b/src/helpers/index.js index 0a3cb549..a5d43efe 100644 --- a/src/helpers/index.js +++ b/src/helpers/index.js @@ -36,6 +36,12 @@ const languageToBCP47 = () => { 'de_CH': 'de-CH', 'gsw': 'de-CH', 'gsw_CH': 'de-CH' + }, + fr: { + 'fr_CH': 'fr-CH' + }, + it: { + 'it_CH': 'it-CH' } } const matchingWhitelist = whitelist[language] |