Skip to content

[6.x] Arabic translations - #15785

Merged
duncanmcclean merged 3 commits into
statamic:6.xfrom
rezbouchabou:6.x
Nov 6, 2026
Merged

duncanmcclean merged 3 commits into
statamic:6.xfrom
rezbouchabou:6.x

Conversation

@rezbouchabou

Copy link
Copy Markdown
Contributor

No description provided.

@duncanmcclean duncanmcclean left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this! Just a couple of things to fix before we merge:

  1. licensing_config_cached_warning (lang/ar/messages.php): .env is wrapped in backticks, but this string is rendered as raw HTML, not markdown, so the backticks show up literally. Could you use <code>.env</code> instead, like you've done with php artisan config:cache?

  2. licensing_incorrect_key_format_body (lang/ar/messages.php): the English string has a link to statamic.com (<a href="https://statamic.com" class="underline">statamic.com</a>), but it's been dropped from the Arabic version. Could you add the <a> tag back so the link is still clickable?

Not a blocker, but in markdown.php, the &amp; is missing from the <h2> heading and there's an extra </p> after the inline code paragraph. Would be good to tidy those up while you're in there.

@rezbouchabou

Copy link
Copy Markdown
Contributor Author

Checked and fixed.

@duncanmcclean duncanmcclean left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this! It's a big improvement on what we had before.

I had an LLM look through it, and it spotted a couple of things that need doing. Some terms were only renamed in some places, so the same screen can end up showing two different names for the same thing:

  • Super Admin: In ar.json, "Super Admin" is "مسؤول بصلاحيات فائقة" and "Super User" is "مستخدم بصلاحيات فائقة", but permissions.super and user_wizard_super_admin_instructions use "المسؤول الأعلى". In the user wizard those two sit right next to each other. It'd be good to pick one.
  • Asset container: "Asset Containers" is now "مخازن الملفات", but "Container", "Create Container", "Edit Container", "Delete Container" and "This container is empty" in ar.json still say "حاوية", and so do asset_container_handle_instructions and asset_container_intro. The asset browser shows those right under the "مخازن الملفات" heading.
  • Configure: messages.php and permissions.php now use "إعداد", but every "Configure …" key in ar.json still uses "تكوين", so page titles and permission labels won't match.

It flagged a few smaller things too. These ones are optional:

  • text.config.append/prepend and range.config.append/prepend/min/max still say right/left. Since the CP is right-to-left in Arabic, appended text actually shows on the left, so start/end wording might be better. (This was already wrong before your PR, but you're touching those lines anyway.)
  • configure_globals_desc says "المجموعات العامة", while its group label is "المتغيرات العامة".
  • "مرشح" for "Filter" can also mean "candidate". "تصفية" / "عامل تصفية" might be more familiar.
  • "Widgets" → "عناصر واجهة المستخدم" loses the dashboard-widget meaning a bit, and "Warm" → "تهيئة ذاكرة التخزين المؤقت" is quite long for a button.

If you could have a look and see what you can do, that would be great!

@rezbouchabou

Copy link
Copy Markdown
Contributor Author

Thanks for the detailed review. I’ve aligned the Super Admin and asset-container terminology, standardized “Configure,” and applied the suggested wording updates for RTL, globals, filter, widget, and cache-warming.

Super Admin: المسؤول الأعلى
Super User: المستخدم الأعلى
Container: حاوية
Configure: إعداد
Globals: المجموعات العامة or المجوعات الشاملة (the previous tranlation المتغيرات العامة is incorrect)
Filter: تصفية
Widgets: There is no direct Arabic translation for the word 'widgets,' so it can be transliterated as ويدجات, or مكوّنات لوحة التحكم.

If you have any suggestions, I would be happy to help.

@duncanmcclean duncanmcclean left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for sorting these out, looks great! 🙌

@duncanmcclean
duncanmcclean merged commit ccb6fc4 into statamic:6.x Nov 6, 2026
61 checks passed
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.

2 participants