Skip to content

Wrong, hardcoded punctuation in Japanese #6966

@jiw-mh

Description

@jiw-mh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions