MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.01k stars 21k forks source link

Missing single quotes on documentation #122217

Closed fraga closed 1 week ago

fraga commented 2 weeks ago

Documentation must include single quotes here, at least on powershell, otherwise it only translates the first language, in this case, russian.

spx translate --microphone --source en-US --target 'ru-RU;fr-FR;es-ES'

Without single quotes:

Connection CONNECTED...
TRANSLATING into 'ru': Это проверка (from 'This is a test')
TRANSLATED into 'ru': Это проверка. (from 'This is a test.')

TRANSLATING into 'ru': Это проверка (from 'This is a test')
TRANSLATED into 'ru': Это проверка. (from 'This is a test.')

Once I use single quotes,

Listening; press ENTER to stop ...

Connection CONNECTED...
RECOGNIZING: This is
TRANSLATING into 'ru': Это
TRANSLATING into 'fr': C’est
TRANSLATING into 'es': Esto es

RECOGNIZING: This is a test
TRANSLATING into 'ru': Это проверка
TRANSLATING into 'fr': C’est un test
TRANSLATING into 'es': Esto es una prueba

RECOGNIZED: This is a test.
TRANSLATED into 'ru': Это проверка.
TRANSLATED into 'fr': C’est un test.
TRANSLATED into 'es': Esto es una prueba.

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 2 weeks ago

@fraga Thanks for your feedback! We will investigate and update as appropriate.

PesalaPavan commented 1 week ago

@fraga Thank you for bringing this to our attention! We've initiated a pull request (PR) to address this issue. Once the author reviews the changes, they will be merged, and the updates should go live shortly. Your diligence is much appreciated!