FLUID-6323: Update text direction with UIO locale change

Metadata

Source
FLUID-6323
Type
Task
Priority
Major
Status
Reopened
Resolution
N/A
Assignee
N/A
Reporter
Gregor Moss
Created
2018-08-17T16:14:42.767-0400
Updated
2020-05-29T11:14:42.442-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. UI Options

Description

When the locale is changed in the localized version of UIO, the text direction should also be adjusted, where applicable. E.g. Farsi uses a right-to-left script, so the markup should be updated accordingly via the HTML dir attribute.

Consider storing the text direction in the message files, along with the localized strings.

The value could be stored/updated here:

localeSettings: {
    direction: "ltr"
}