FireboltCasters / directus-extension-auto-translation

MIT License
15 stars 1 forks source link

Not Translating #5

Open BlackDahlia313 opened 7 months ago

BlackDahlia313 commented 7 months ago

Hey!

I installed everything as needed and added a translation field. I added the 2 booleans like in the example, But anytime I make an edit and save, there is no translastions being made.

Am I missing something?

Keys is set in ENV and in backend.

Directus 10.8.2

BlackDahlia313 commented 7 months ago

So when I update a collection that has translations, it removes my api key set in the backend and says the key is invalid.

But the key is also set via env and is valid.

BlackDahlia313 commented 7 months ago

image image

laverix commented 6 months ago

same here

laverix commented 6 months ago

If it help this is what I get from docker logs

Screenshot 2024-02-27 at 20 01 56
laverix commented 6 months ago

@BlackDahlia313

hey, I spent couple hours debugging and checking it. The only way to make it work

AUTO_TRANSLATE_API_KEY_SAVING_PATH: "/directus/secrets/api-key-in-file.txt"

In the other cases it just doesn't pickup the key

bllfoad commented 2 months ago

@BlackDahlia313

hey, I spent couple hours debugging and checking it. The only way to make it work

AUTO_TRANSLATE_API_KEY_SAVING_PATH: "/directus/secrets/api-key-in-file.txt"

In the other cases it just doesn't pickup the key

Can you explain to us how to install this plugin it's very confusing and what is let_be_translated and be_source_for_translations ? thank you so much