feat: add Persian (fa) locale translations#374
Merged
Conversation
Contributor
There was a problem hiding this comment.
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 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 باید درست یا نادرست باشد.', |
bobbyiliev
approved these changes
May 11, 2026
Collaborator
bobbyiliev
left a comment
There was a problem hiding this comment.
Thanks for the contribution!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Persian (Farsi) language support to Wave by adding translation files for the
falocale.Changes
lang/fa/auth.php- Authentication messages in Persianlang/fa/pagination.php- Pagination labels in Persianlang/fa/passwords.php- Password reset messages in Persianlang/fa/validation.php- Validation messages in PersianNotes
Persian is spoken by 120+ million people. This follows the same structure as the existing
ar(Arabic) locale already in the project.