Skip to content

is_rtl considered harmful #216

Closed
Closed
@simonwheatley

Description

@simonwheatley

Currently our is_rtl function parses (eugh) any locale file and checks for RTL. Instead we should just hardcode the RTL languages into an array (really, how often is a new one going to come along), and allow the dev to filter it so they can add any special case they may require.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions