Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Switching between LTR and RTL languages alters the layout #42

Open
rabrowne85 opened this issue Apr 27, 2020 · 1 comment
Open

Switching between LTR and RTL languages alters the layout #42

rabrowne85 opened this issue Apr 27, 2020 · 1 comment
Assignees

Comments

@rabrowne85
Copy link
Collaborator

When a RTL language is selected for the user, the sidebar Mac should pin right and the aside pins left. And vice versa for the LTR.

@rabrowne85
Copy link
Collaborator Author

Think this perhaps a little outside the scope of the project. A simple use case is to set the <html> tag in the root blade file to : <html lang="{{ app()->getLocale() }}" dir="{{__('core.text_dir')}}">. This will then use the entry in the language file to determine the direction. Does this seem like a suitable solution?

Alternative would be add a new field to the locale system to store a text direction parameter with the locale, then add another function to get the direction.

@frankpde thoughts?

@rabrowne85 rabrowne85 transferred this issue from pwweb/localisation Nov 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants