You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Localization example need an small refactor, detected issue is about the HTML document direction for RTL locales.
For example Arabic language rtl key in locales array is true but document direction stay at default left to right value while we are in Arabic route.
fix [#10344](#10344)
The template was missing defining direction.
direction property is necessary because HTML direction will be LTR for
RTL languages by default.
Describe the Bug.
Localization example need an small refactor, detected issue is about the HTML document direction for RTL locales.
For example Arabic language rtl key in locales array is true but document direction stay at default left to right value while we are in Arabic route.
Reproduction Steps
step 1: Run localization example.
step 2: Change locale to Arabic (http://localhost:3000/ar).
Document direction should be right to left but it's in left to right direction.
Environment Info
The text was updated successfully, but these errors were encountered: