Skip to content
9 changes: 9 additions & 0 deletions .changelog/20260721132553_ck_10480.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
type: Major breaking change
scope:
- ckeditor5-dev-translations
see:
- https://github.com/ckeditor/ckeditor5-commercial/issues/10480
---

The `zh_TW` language code is no longer mapped to the `zh.po` file. It now emits `zh-tw.po` instead.
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,10 @@ const SUPPORTED_LOCALES = [
'uz', // Uzbek
'vi' // Vietnamese
];

const LOCALES_FILENAME_MAP = {
'ne_NP': 'ne',
'si_LK': 'si',
'sr@latin': 'sr-latn',
'zh_TW': 'zh'
'sr@latin': 'sr-latn'
};

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe( 'getLanguages()', () => {

expect( languageChineseTaiwan ).toEqual( {
localeCode: 'zh_TW',
languageCode: 'zh',
languageCode: 'zh-tw',
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
languageFileName: 'zh'
} );
} );
Expand Down