Add french language for the number prompt #1484
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
customer-replied-to
Indicates that the team has replied to the issue reported by the customer. Do not delete.
customer-reported
Issue is created by anyone that is not a collaborator in the repository.
Hi,
After testing the number prompt on teams I just found an "error".
If your local is "fr" you can't use the number prompt since the language isn't imported in the prompt
Error: E_MISSING_BUNDLE: {"locale":"fr"} at createError (...\node_modules\cldrjs\dist\cldr.js:339:11) at validate (...\node_modules\cldrjs\dist\cldr.js:355:10) at Cldr.main (...\node_modules\cldrjs\dist\cldr.js:669:3) at numberNumberingSystem (...\node_modules\globalize\dist\globalize\number.js:553:14) at numberPattern (...\node_modules\globalize\dist\globalize\number.js:1433:37) at Globalize.numberParser.Globalize.numberParser (...\node_modules\globalize\dist\globalize\number.js:1545:13) at NumberPrompt.<anonymous> (...\node_modules\botbuilder-dialogs\lib\prompts\numberPrompt.js:69:51) at Generator.next (<anonymous>) at ...\node_modules\botbuilder-dialogs\lib\prompts\numberPrompt.js:7:71 at new Promise (<anonymous>) { code: 'E_MISSING_BUNDLE', locale: 'fr' }
To fix that , in lib/prompts/numberPrompt.js
If this can be added that will be very nice (it's sad to extend the lib for that)
regards,
Arthur Rouet.
The text was updated successfully, but these errors were encountered: