diff --git a/changedetectionio/languages.py b/changedetectionio/languages.py index ffc118678..e6552d716 100644 --- a/changedetectionio/languages.py +++ b/changedetectionio/languages.py @@ -29,6 +29,7 @@ def get_timeago_locale(flask_locale): """ locale_map = { 'zh': 'zh_CN', # Chinese Simplified + 'zh_Hant_TW': 'zh_TW', # Flask-Babel normalizes zh_TW to zh_Hant_TW 'pt': 'pt_PT', # Portuguese (Portugal) 'sv': 'sv_SE', # Swedish 'no': 'nb_NO', # Norwegian Bokmål diff --git a/changedetectionio/translations/zh_TW/LC_MESSAGES/messages.mo b/changedetectionio/translations/zh_TW/LC_MESSAGES/messages.mo index 781a94ecc..96cfecc41 100644 Binary files a/changedetectionio/translations/zh_TW/LC_MESSAGES/messages.mo and b/changedetectionio/translations/zh_TW/LC_MESSAGES/messages.mo differ diff --git a/changedetectionio/translations/zh_TW/LC_MESSAGES/messages.po b/changedetectionio/translations/zh_TW/LC_MESSAGES/messages.po index c321a4392..00cdd26fa 100644 --- a/changedetectionio/translations/zh_TW/LC_MESSAGES/messages.po +++ b/changedetectionio/translations/zh_TW/LC_MESSAGES/messages.po @@ -10,8 +10,8 @@ msgstr "" "POT-Creation-Date: 2026-01-03 14:31+0100\n" "PO-Revision-Date: 2026-01-02 12:37+0100\n" "Last-Translator: FULL NAME \n" -"Language: zh_Hant_TW\n" -"Language-Team: zh_Hant_TW \n" +"Language: zh_TW\n" +"Language-Team: zh_TW \n" "Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n"