How to make translation of Plugins menu

CudaText 1.84+ supports translation of Plugins menu items. For example, you have plugin with module cuda_nnn, which has "install.inf" with such menu items:

  1. [item1]
  2. ...
  3. caption=MyPlugin\ItemOne
  4. ...
  5. [item2]
  6. ...
  7. caption=MyPlugin\SubMenu\ItemTwo
  8. ...

Then you need to create files like "ru_RU.ini" in the folder "data/langmenu/cuda_nnn". Create folder "langmenu" inside "data" if it's absent. Files must be in UTF-8 no BOM encoding. They must have section "menu". All items in the ini-file are optional.

  1. [menu]
  2. MyPlugin=local name
  3. ItemOne=local name of item
  4. ItemTwo=local name of item
  5. SubMenu=local name of menu

To distribute those translation(s), make zip file like "langmenu.MyPlugin.zip", which must have "install.inf" and folder "cuda_nnn" (you can put more folders, for several plugins, if you want so). Install.inf contents:

  1. [info]
  2. title=Translation of menu items of MyPlugin
  3. type=cudatext-data
  4. subdir=langmenu

Submit that zip file to CudaText GutHub page, or post it to the forum.