Skip to content

A plugin to help manage, edit, and generate translations. (On hold, I haven't had to do much translations lately)

License

Notifications You must be signed in to change notification settings

valen20Chx/nvim-i18n-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-i18n-tools

A plugin to help manage, edit, and generate translations.

image image

Installation

Lazy.nvim

return {
  "valen20Chx/nvim-i18n-tools",
  config = function()
    require("nvim-i18n-tools").setup()
  end,
}

Usage

You will need a .nvim/ directory at the root of your project (directory you open neovim from), in it you must put a i18n-tools.lua file with this inside:

return {
  -- First sub-directory
  {
    -- path to the i18n file relative to this one (i18n-tools.lua)
    translations = "../path/to/the/translation/file.json",
  },
  -- Second sub-directory
  {
    -- path to the i18n file relative to this one (i18n-tools.lua)
    translations = "../path/to/another/translation/file.json",
  }
  -- ...
}

Future

  • Edit translations (some kind of popup)
  • Generate translations
  • Add more languages (translations files and programming language)

Please feel free to contact me if you want to help, and we'll see what to do. This is a learning opportunity for me so don't expect this to be a complete plugin soon.

About

A plugin to help manage, edit, and generate translations. (On hold, I haven't had to do much translations lately)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published