Skip to content

feat: add Persian (fa) locale translations#374

Merged
bobbyiliev merged 1 commit into
thedevdojo:mainfrom
seyedrezabazyar:feat/persian-locale
May 11, 2026
Merged

feat: add Persian (fa) locale translations#374
bobbyiliev merged 1 commit into
thedevdojo:mainfrom
seyedrezabazyar:feat/persian-locale

Conversation

@seyedrezabazyar
Copy link
Copy Markdown
Contributor

Description

Adds Persian (Farsi) language support to Wave by adding translation files for the fa locale.

Changes

  • lang/fa/auth.php - Authentication messages in Persian
  • lang/fa/pagination.php - Pagination labels in Persian
  • lang/fa/passwords.php - Password reset messages in Persian
  • lang/fa/validation.php - Validation messages in Persian

Notes

Persian is spoken by 120+ million people. This follows the same structure as the existing ar (Arabic) locale already in the project.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new fa (Persian/Farsi) locale to the Laravel lang/ tree so Wave can display authentication, pagination, password reset, and validation messages in Persian.

Changes:

  • Added Persian translations for authentication and password-reset flows.
  • Added Persian labels for paginator navigation.
  • Added a Persian validation messages file (currently only a small subset of keys).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
lang/fa/auth.php Adds Persian auth-related translation strings.
lang/fa/pagination.php Adds Persian paginator previous/next labels.
lang/fa/passwords.php Adds Persian password reset/broker messages.
lang/fa/validation.php Adds Persian validation messages (partial coverage vs other locales).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread lang/fa/validation.php
Comment on lines +3 to +12
return [

'accepted' => 'فیلد :attribute باید پذیرفته شده باشد.',
'active_url' => 'فیلد :attribute یک آدرس اینترنتی معتبر نیست.',
'after' => 'فیلد :attribute باید تاریخی بعد از :date باشد.',
'alpha' => 'فیلد :attribute فقط می‌تواند شامل حروف باشد.',
'alpha_dash' => 'فیلد :attribute فقط می‌تواند شامل حروف، اعداد، خط تیره و زیرخط باشد.',
'alpha_num' => 'فیلد :attribute فقط می‌تواند شامل حروف و اعداد باشد.',
'array' => 'فیلد :attribute باید یک آرایه باشد.',
'boolean' => 'فیلد :attribute باید درست یا نادرست باشد.',
Copy link
Copy Markdown
Collaborator

@bobbyiliev bobbyiliev left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

@bobbyiliev bobbyiliev merged commit 063d2e7 into thedevdojo:main May 11, 2026
6 of 8 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.

3 participants