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

Added an Arabic translation #17

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Added an Arabic translation #17

wants to merge 10 commits into from

Conversation

agharbeia
Copy link

Full Arabic translation of the test statements and the static website's text.
The static file of the English language has also been updated to include the Arabic option in the menu. Static files of other languages will probably need to be updated too. A better solution would be to refactor the language options menu out of the static language files.
The files ./translate.php and ./partials/header.php have also been updated.
Just for the record, I'm currently at PolitScales:ajA9NzYmajE9NSZtMD05MyZwMT01JnAwPTg2JnMxPTEyJnMwPTcxJmZlbWk9MzMmYzA9NTAmYzE9MTAmZTA9NTUmZTE9MjEmYjE9NSZiMD04NiZ0MT0yNCZ0MD02MCZ2ZWdhPTY3JmFuYXI9MTAw

agharbeia added 10 commits March 5, 2024 23:05
Translation into Arabic
translated into Arabic
Added Arabic, and sorted languages' links alphabetically.
Added the name of Arabic to list of languages.
Fixed syntax (missing comma) resulting from reordering of lines
A flag for Arabic, instead of the other glyph which required a good Arabic font to avoid Tofu. It also avoids the puzzlement of having to choose the flag of one country among more than 22, since Arabic is a pluricentric, pan-state language.
Since the language selector is currently included in the static part of each language's file, it will need to be repeated in each of them in order to have all the options visible in each language.
A better solution would probably to refactor it somewhere else.
Carried the options of Russian and Chinese over from the English file. Other language files need to be updated too.
There are possibly other areas where languages need to be referenced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant