From dd928925718a28b60ad1dd65bfb2cebd69b591c6 Mon Sep 17 00:00:00 2001 From: bcgov-citz-ccft <114184659+bcgov-citz-ccft@users.noreply.github.com> Date: Tue, 10 Oct 2023 11:10:40 -0700 Subject: [PATCH] fix: FORMS-891 vuetify traditional chinese support (#1072) Co-authored-by: Walter Moar --- app/frontend/src/components/base/BaseInternationalization.vue | 2 +- .../src/internationalization/trans/vuetify/locale/README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 app/frontend/src/internationalization/trans/vuetify/locale/README.md diff --git a/app/frontend/src/components/base/BaseInternationalization.vue b/app/frontend/src/components/base/BaseInternationalization.vue index 85a42dee2..2833058db 100644 --- a/app/frontend/src/components/base/BaseInternationalization.vue +++ b/app/frontend/src/components/base/BaseInternationalization.vue @@ -74,7 +74,7 @@ export default { this.$vuetify.lang.current = lang.keyword == 'zh' ? 'zhHans' - : lang.keyword == 'zh-TW' + : lang.keyword == 'zhTW' ? 'zhHant' : lang.keyword; this.setMultiLanguage(lang.keyword); diff --git a/app/frontend/src/internationalization/trans/vuetify/locale/README.md b/app/frontend/src/internationalization/trans/vuetify/locale/README.md new file mode 100644 index 000000000..047600a8f --- /dev/null +++ b/app/frontend/src/internationalization/trans/vuetify/locale/README.md @@ -0,0 +1,2 @@ +This directory contains the translation files for languages that are supported +by CHEFS, but not supported by Vuetify.