Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update list of RTL languages #803

Open
nickvergessen opened this issue Sep 27, 2024 · 1 comment
Open

Update list of RTL languages #803

nickvergessen opened this issue Sep 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nickvergessen
Copy link
Contributor

isRTL is not fully reporting all languages as RTL that the server has listed as RTL:

As per discussion in #801 and chat, the following languages should be listed as RTL:

$rtlLanguages = [
	'ar', // Arabic
	'fa', // Persian
	'he', // Hebrew
	'ps', // Pashto,
	'ug', // 'Uyghurche / Uyghur
	'ur_PK', // Urdu
];

Others can be listed, but at least those should be, but ur_PK which will be available as ur-PK in the head lang attribute is missing.

@nickvergessen nickvergessen added the bug Something isn't working label Sep 27, 2024
@nickvergessen
Copy link
Contributor Author

Also the function currently seems to consider locale for uz-AF but we agreed that RTL handling should be language based.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant