You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current flow contains 2 API calls - create a key and a translation for the default locale. It was the only way to get automatic translation to work via API. I've noticed the mention of the autotranslate param in the latest version and decided to try it out.
I enabled machine translation for my project and explicitly selected language as the default (it was the mandatory criterion; otherwise, auto-translation didn't work).
When I call a create key endpoint with parameters name, autotranslate, defaultTranslationContent, dataType, maxCharactersAllowed and plural, it creates a key, and no translation happens.
OkHttp logger shows me this request body: {"name":"...","plural":false,"data_type":"string","max_characters_allowed":2147483647,"default_translation_content":"...","autotranslate":true}.
Am I missing anything, or does the API parameter not result in the expected behaviour, and I must stick with the existing two calls per key approach?
Also, I have a few questions on side topics.
Is it possible to increase the maximum parallel requests for the enterprise plan?
Can the create key endpoint act as a 'create or update' with auto translate?
Looking forward,
The text was updated successfully, but these errors were encountered:
Hi guys,
My current flow contains 2 API calls - create a key and a translation for the default locale. It was the only way to get automatic translation to work via API. I've noticed the mention of the autotranslate param in the latest version and decided to try it out.
I enabled machine translation for my project and explicitly selected language as the default (it was the mandatory criterion; otherwise, auto-translation didn't work).
When I call a create key endpoint with parameters name, autotranslate, defaultTranslationContent, dataType, maxCharactersAllowed and plural, it creates a key, and no translation happens.
OkHttp logger shows me this request body:
{"name":"...","plural":false,"data_type":"string","max_characters_allowed":2147483647,"default_translation_content":"...","autotranslate":true}
.Am I missing anything, or does the API parameter not result in the expected behaviour, and I must stick with the existing two calls per key approach?
Also, I have a few questions on side topics.
Is it possible to increase the maximum parallel requests for the enterprise plan?
Can the create key endpoint act as a 'create or update' with auto translate?
Looking forward,
The text was updated successfully, but these errors were encountered: