Skip to content

[intl] add support for determining whether a locale uses a RTL script #18345

Closed
@stof

Description

@stof

Description

ICU4C has uloc_isRightToLeft to determine this.

It would be great to expose this in PHP. It is useful to manage the dir attribute in HTML based on the locale being used, instead of having to duplicate that knowledge in userland.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions