How to make translation

Translation template-file is in dir "data/lang".How to make translation zip package:

  • make file "nn_NN.ini" (utf-8 with bom)
  • use standard locale names in filename, e.g. ru_RU pt_PT ja_JP (needed for plugins which uses Python translation API)
  • write your contacts in first commented lines. Comments must begin with ";" at line start. Also you can add other comments.
  • to set accelerator-chars for menus/dialogs, use "&" char (e.g. "Open &file"). If needed "&" as is, write "&&".
  • note: Linux Ubuntu font is 1.3x times wider (than WinXP)
  • make "install.inf" with such text:
  1. [info]
  2. title=LangName translation (by AuthorName)
  3. type=cudatext-data
  4. subdir=lang
  • make zip file "translation.nn_NN.zip" with files nn_NN.ini, install.inf
  • test this zip: open it in CudaText, and check it's installed
  • publish zip at CudaText forum or https://github.com/Alexey-T/CudaText/issues
  • if package ok, it will be at SF.net downloads, and in Addon Manager