Skip to content

[locale] Undefined behavior when locale appears in middle of path. #4687

@zhangyx1998

Description

@zhangyx1998

Describe the bug

The problem is discussed here.

Reproduction

Stackblitz Playground

Expected behavior

The behavior in such scenario should be specified in documentation and enforced in the code. Currently the behavior is unpredictable and dependent on the declaration order of locale config.

System Info

Not Applicable

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions