This commit is contained in:
gunchleoc 2024-05-10 20:08:55 +00:00 committed by GitHub
commit b712e0b237
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,7 @@ module LanguagesHelper
# but a language family in spite of sharing the main locale code # but a language family in spite of sharing the main locale code
# We need to be able to filter these # We need to be able to filter these
ISO_639_1_REGIONAL = { ISO_639_1_REGIONAL = {
'nan-TW': ['Taiwanese (Hokkien)', '臺語Hô-ló話'].freeze,
'zh-CN': ['Chinese (China)', '简体中文'].freeze, 'zh-CN': ['Chinese (China)', '简体中文'].freeze,
'zh-HK': ['Chinese (Hong Kong)', '繁體中文(香港)'].freeze, 'zh-HK': ['Chinese (Hong Kong)', '繁體中文(香港)'].freeze,
'zh-TW': ['Chinese (Taiwan)', '繁體中文(臺灣)'].freeze, 'zh-TW': ['Chinese (Taiwan)', '繁體中文(臺灣)'].freeze,

View File

@ -63,6 +63,7 @@ Rails.application.configure do
:mr, :mr,
:ms, :ms,
:my, :my,
:'nan-TW',
:nl, :nl,
:nn, :nn,
:no, :no,