diff --git a/app/javascript/dashboard/i18n/index.js b/app/javascript/dashboard/i18n/index.js index d32094ad2..a00dd2517 100644 --- a/app/javascript/dashboard/i18n/index.js +++ b/app/javascript/dashboard/i18n/index.js @@ -9,6 +9,7 @@ import es from './locale/es'; import fa from './locale/fa'; import fi from './locale/fi'; import fr from './locale/fr'; +import he from './locale/he'; import hi from './locale/hi'; import hu from './locale/hu'; import id from './locale/id'; @@ -47,6 +48,7 @@ export default { fa, fi, fr, + he, hi, hu, id, diff --git a/config/initializers/languages.rb b/config/initializers/languages.rb index fdd394440..44ce2df2a 100644 --- a/config/initializers/languages.rb +++ b/config/initializers/languages.rb @@ -38,7 +38,8 @@ LANGUAGES_CONFIG = { 33 => { name: 'украї́нська мо́ва (uk)', iso_639_3_code: 'ukr', iso_639_1_code: 'uk', enabled: true }, 34 => { name: 'ภาษาไทย (th)', iso_639_3_code: 'tha', iso_639_1_code: 'th', enabled: true }, 35 => { name: 'latviešu valoda (lv)', iso_639_3_code: 'lav', iso_639_1_code: 'lv', enabled: true }, - 36 => { name: 'íslenska (is)', iso_639_3_code: 'isl', iso_639_1_code: 'is', enabled: true } + 36 => { name: 'íslenska (is)', iso_639_3_code: 'isl', iso_639_1_code: 'is', enabled: true }, + 37 => { name: 'עִברִית (he)', iso_639_3_code: 'heb', iso_639_1_code: 'he', enabled: true } }.filter { |_key, val| val[:enabled] }.freeze Rails.configuration.i18n.available_locales = LANGUAGES_CONFIG.map { |_index, lang| lang[:iso_639_1_code].to_sym }