This project is discontinued. We are not able to maintain this project anymore, as we are integrating it directly into our software. If you want to take over this project, please contact us.
directus-extension-auto-translation
This extension automatically translates Directus collections translation fields. This will be achieved by DeepL integration.
With a free DeepL account you can translate 500.000 words per month free.
Backup your database!
Installing via the npm Registry
RUN pnpm install directus-extension-auto-translation
[Recommended]
env
Variable: AUTO_TRANSLATE_API_KEY_SAVING_PATH
which holds a path- ./secrets:/directus/secrets
AUTO_TRANSLATE_API_KEY_SAVING_PATH: "/directus/secrets/api-key-in-file.txt"
env
Variable: AUTO_TRANSLATE_API_KEY
which holds the api keyFollow the instructions in your Directus App add the new created table (auto_translation_settings
)
This example shows how to use the extension for a collection wikis
translation
type field to your collectionwikis_translations
and languages
collectionwikis_translations
)
be_source_for_translations
field (default: true
)
let_be_translated
field (default: true
)
If you now create or update a record in the wikis
collection with a translation
it will be automatically translated.
The FireboltCasters