Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: missing field api_key in deepl.toml but the key is there.... #1

Open
Jieiku opened this issue Jan 6, 2025 · 0 comments
Open

Comments

@Jieiku
Copy link

Jieiku commented Jan 6, 2025

I figured it out, here is what worked for deepl.toml, the trick was including [glossaries] even if you do not use them.

api_key = "redacted-redacted-redacted"

[glossaries]
"abridge" = "abridge"
"zola" = "zola"

here is the command I used to do the translation
cmark-translate translate -f EN -t FR input.md output.fr.md

It seems using glossaries is not a required feature so it would be nice for this tool to still work even if [glossaries] is missing in the deepl.toml file.

@Jieiku Jieiku changed the title Could you please post a template for the expected deepl.toml file? Error: missing field api_key in deepl.toml but the key is there.... Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant