Menu

#2 What should I do if I want use the Chinese translation I made?

2.0
closed
None
2019-06-11
2019-06-09
uxiamskx
No

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.

Discussion

  • Rookiestyle

    Rookiestyle - 2019-06-09

    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'.

     
    • uxiamskx

      uxiamskx - 2019-06-11

      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.

       
  • Rookiestyle

    Rookiestyle - 2019-06-11

    Good to hear that it works

    I added your file to the existing translations.
    Many thanks for creating it!

     
  • Rookiestyle

    Rookiestyle - 2019-06-11
    • status: open --> closed