Hi everyone,
I have some questions related to “System Prompts” with ToAudioNumber() and ToAudioCurrency() functions using Portuguese (Pt-br).
ToAudioCurrency()
For currency in “EUR”, does this function use “currency_euro”, “currency_euros”, “currency_eurocent” and “currency_eurocents” system prompts?
I’m asking this because I overwritten those voice prompts and when I tested it for currency that has centimes I heard other system prompts instead of “currency_eurocent” and “currency_eurocents”.
Additionally, “currency_euro” and “currency_euros” system prompts are being used correctly and in order to convert numbers to Currency it’s used MakeCurrency(X,"EUR").
ToAudioNumber() and ToAudioCurrency()
Do these functions use “num_million” and “num_millions”?
I’m asking this because for numbers which use the plural of “million” in Portuguese (“milhões”) these functions don’t use plural.
For instance, instead of saying “Dois milhões” (num_2 + num_millions) or “duzentos milhões” ((num_200 + num_millions) it's said “Dois milhÃO” (num_2 + num_million) and “duzentos milhÃO" (num_200 + num_million)
Can you tell me which are the rules to concatenate prompts to saying numbers in Portuguese?
For instance for ToAudioNumber(201) plays num_200 +conjuctive_and + num_1 which is correct, however for ToAudioNumber(271) this “rule” isn’t being applied as it plays num_200 + num_70 +conjuctive_and + num_1 instead of num_200 + conjuctive_and num_70 +conjuctive_and + num_1.
This post is related to: https://developer.mypurecloud.ie/forum/t/system-prompts-prompt-upload-toaudio-functions/2348/1
Sorry if this sounds confusing and thank you in advance.
Best regards,
Ana Laia