Skip to content

Conversation

MKAbuMattar
Copy link

This pull request adds Arabic translations for many common UI strings in the i18n/edit.toml file, expanding the application's language support. The changes include adding Arabic as a supported language and providing Arabic translations for menu items, dialog buttons, warnings, and search labels.

@MKAbuMattar
Copy link
Author

@microsoft-github-policy-service agree

# Shown when the clipboard size exceeds the limit for OSC 52
[LargeClipboardWarningLine2]
en = "You copied {size} which may take a long time to share."
ar = "لقد قمت بنسخ {size} مما قد يستغرق وقتًا طويلاً للمشاركة."

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sentence is backward here? probably because you mixed RTL and LTR together? It should be like this:

لقد قمت بنسخ {size} مما قد يستغرق وقتًا طويلاً للمشاركة.

But frankly, I have seen this happening even when adding Arabic (or any RTL language) in XML files. It seems they are not designed for RTL support.

Also, most of the punctuations like periods, colons, ..etc. should be on the left side of the sentence, not the right side where the sentence begins.

i18n/edit.toml Outdated
__default__ = [
"en",
# --------
"ar",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We won't add new languages to the default selection shipped with Windows at this time, so this needs to be reverted.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the review!
I’ve reverted the language addition and removed the redundant lines as suggested.

i18n/edit.toml Outdated
# The keyboard key
[Ctrl]
en = "Ctrl"
ar = "Ctrl"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unspecified elements fall back to English, so this line is redundant. Same for the lines below.

@MKAbuMattar MKAbuMattar requested a review from lhecker October 16, 2025 20:39
Copy link
Member

@lhecker lhecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your work!

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.

3 participants