Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
Vite
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
No response
Please describe your bug.
In some translation texts, the regular '.' is hard coded. For example:
|
return `${translate(DefaultTexts.CODE_SENT)}. ${arrivalMessage}.`; |
In japanese the ends of sentences use 。 instead. It would be good not assume any punctuation. Not sure it wouldn't be a good idea to also open the sentence order to reduce the length of a sentence in some language packs.
What's the expected behaviour?
To have a japanese punctuation consistently.
Help us reproduce the bug!
Load the Login component in a japanese display.
Code Snippet
Console log output
No response
Additional information and screenshots
No response
Before creating a new issue, please confirm:
On which framework/platform are you having an issue?
React
Which UI component?
Authenticator
How is your app built?
Vite
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
No response
Please describe your bug.
In some translation texts, the regular '.' is hard coded. For example:
amplify-ui/packages/ui/src/helpers/authenticator/textUtil.ts
Line 40 in a6470c1
In japanese the ends of sentences use
。instead. It would be good not assume any punctuation. Not sure it wouldn't be a good idea to also open the sentence order to reduce the length of a sentence in some language packs.What's the expected behaviour?
To have a japanese punctuation consistently.
Help us reproduce the bug!
Load the Login component in a japanese display.
Code Snippet
Console log output
No response
Additional information and screenshots
No response