Open moaali opened 5 months ago
This PR fixes the issue of displaying numbers in english all the time regardless of the selected locale by adding numberLocale option
numberLocale
Issue was: منذ 3 دقائق showing english number in arabic
منذ 3 دقائق
With this PR you can do this:
render(node, 'ar', { numberLocale: 'ar-u-nu-arab' })
and it takes the correct form: منذ ٣ دقائق
منذ ٣ دقائق
Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information
This PR fixes the issue of displaying numbers in english all the time regardless of the selected locale by adding
numberLocale
optionIssue was:
منذ 3 دقائق
showing english number in arabicWith this PR you can do this:
and it takes the correct form:
منذ ٣ دقائق