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
Lately, Microsoft Translator requires the region header as well. The command cognigy translate does not ask for region, making the translation via Microsoft feature impossible.
$ cognigy --version
# 1.4.0
$ cognigy translate --help
# Usage: cognigy translate [options] <resourceType> <resourceName>## Translate a resource## Options:# -l, --localeName <localeName> locale to process# -fl, --fromLanguage <fromLanguageCode> language to translate from# -tl, --toLanguage <targetLanguageCode> language to translate to# -tr, --translator <translator> the translation tool, google, microsoft or deepl# -ti, --translateIntents adds localization to Flow Intents# -tn, --translateNodes adds localization to Flow Nodes# -k, --apiKey <apiKey> the translator api key# -y, --forceYes skips warnings and overwrites all content# -h, --help display help for command
$ cognigy translate -l Polish -fl en -tl pl -tr microsoft -tn -k MS_TRANSLATOR_API_KEY flow FLOW_NAME
# throws axios error: 403 Unauthorized, but API key is correct.
Lately, Microsoft Translator requires the region header as well. The command
cognigy translate
does not ask for region, making the translation via Microsoft feature impossible.Reference: https://learn.microsoft.com/en-us/answers/questions/1192881/how-to-get-microsoft-translator-api-key
The text was updated successfully, but these errors were encountered: