diff --git a/app/helpers/languages_helper.rb b/app/helpers/languages_helper.rb index 9e1c0a7db1d..fe2518ba62b 100644 --- a/app/helpers/languages_helper.rb +++ b/app/helpers/languages_helper.rb @@ -215,6 +215,7 @@ module LanguagesHelper # but a language family in spite of sharing the main locale code # We need to be able to filter these ISO_639_1_REGIONAL = { + 'nan-TW': ['Taiwanese (Hokkien)', '臺語(Hô-ló話)'].freeze, 'zh-CN': ['Chinese (China)', '简体中文'].freeze, 'zh-HK': ['Chinese (Hong Kong)', '繁體中文(香港)'].freeze, 'zh-TW': ['Chinese (Taiwan)', '繁體中文(臺灣)'].freeze, diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb index 5e8d3a545e7..b8621f9aa39 100644 --- a/config/initializers/i18n.rb +++ b/config/initializers/i18n.rb @@ -64,6 +64,7 @@ Rails.application.configure do :mr, :ms, :my, + :'nan-TW', :nl, :nn, :no,