1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-05 01:53:55 +00:00

Add language selection in settings (#75)

* Add language selection in settings

* Removed comment

* Mapping Locale-Language saved as key-value instead of list of objects

* Remove comment

* Revert supported locales array
This commit is contained in:
Costantini Matteo
2018-04-25 05:25:31 +02:00
committed by Kyle Spearrin
parent 4d015568f5
commit 6bf0821ca6
7 changed files with 43 additions and 12 deletions

View File

@@ -4,7 +4,7 @@ import * as path from 'path';
import { I18nService as I18nServiceAbstraction } from 'jslib/abstractions/i18n.service';
// First locale is the default (English)
const SupportedTranslationLocales = [
export const SupportedTranslationLocales = [
'en', 'cs', 'da', 'de', 'es', 'et', 'fi', 'fr', 'hr', 'hu', 'id', 'it', 'ja',
'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi',
'zh-CN', 'zh-TW',