Tried to rename "PEDCalc.template.language.xml" to "PEDCalc.cn.language.xml", and restart keepass (already selected the Chinese language within KeePass), but won't work.
I assume you're using translation 'Traditional Chinese (繁體中文(臺灣)' provided by 高祥元 (Kao Shiang-Yuan).
This file has the language defined as zh-tw.
ZH is the language code for chinese as defined in ISO 6391 which is used by KeePass internally.
ZH-TW = traditional chinese
ZH-CN = simplified chinese
Please change the filename to PEDCalc.zh-tw.language.xml and try again.
I might change my logic to load PEDCalc.zh.language.xml in case PEDCalc.zh-tw.language.xml does not exist but I won't map ISO 6391 language code 'zh' to ISO 3166 country code 'cn'.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I assume you're using translation 'Traditional Chinese (繁體中文(臺灣)' provided by 高祥元 (Kao Shiang-Yuan).
This file has the language defined as zh-tw.
ZH is the language code for chinese as defined in ISO 6391 which is used by KeePass internally.
ZH-TW = traditional chinese
ZH-CN = simplified chinese
Please change the filename to PEDCalc.zh-tw.language.xml and try again.
I might change my logic to load PEDCalc.zh.language.xml in case PEDCalc.zh-tw.language.xml does not exist but I won't map ISO 6391 language code 'zh' to ISO 3166 country code 'cn'.
Got it! It works now,
my envirnoment :
keepass: 2.42.1
language package: Chinese_simplifed(简体中文)2.4.0 by Leo Dou @ CCF
Here's my translation xml file.
Good to hear that it works
I added your file to the existing translations.
Many thanks for creating it!