Compare commits

...

2 Commits

Author SHA1 Message Date
gunchleoc
296d4abf7d
Merge edc6a322fb into e9170e2de1 2025-07-09 17:04:30 +00:00
GunChleoc
edc6a322fb Add nan-TW locale 2025-06-06 14:54:12 +01:00
2 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,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

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