Not all of us are polyglots, and sometimes we need the help of machine translation tools. For this reason, we have provided plug-ins for communication with external services that will allow you to translate texts into another language without knowing it. As a first step, we introduced integration with DeepL API offering 500,000 characters/month for free and more in paid plans. To use DeepL API add Kanta.DeepL.Plugin
to the list of plugins along with the API key from your account at DeepL. New features will then be added to the Kanta UI that will allow you to translate using this tool.
The package can be installed by adding kanta_deep_l_plugin
to your list of dependencies in mix.exs
:
# mix.exs
def deps do
[
{:kanta, "~> 0.1.2"} # REQUIRED
{:kanta_deep_l_plugin, "~> 0.1.0"}
]
end
# config/config.exs
config :kanta,
...
plugins: [
{Kanta.DeepL.Plugin, api_key: "YOUR_DEEPL_API_KEY"}
]
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. We prefer gitflow and Conventional commits style but we don't require that. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'feat: Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.md
for more information.
Michał Buszkiewicz - michal@curiosum.com
Krzysztof Janiec - krzysztof.janiec@curiosum.com
Artur Ziętkiewicz - artur.zietkiewicz@curiosum.com