feat(locale): add Farsi airline module locale#3789
Open
Javid-Izadfar wants to merge 1 commit intofaker-js:nextfrom
Open
feat(locale): add Farsi airline module locale#3789Javid-Izadfar wants to merge 1 commit intofaker-js:nextfrom
Javid-Izadfar wants to merge 1 commit intofaker-js:nextfrom
Conversation
✅ Deploy Preview for fakerjs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #3789 +/- ##
=======================================
Coverage 98.88% 98.88%
=======================================
Files 886 887 +1
Lines 3062 3062
Branches 556 556
=======================================
Hits 3028 3028
Misses 30 30
Partials 4 4
🚀 New features to boost your workflow:
|
matthewmayer
approved these changes
Apr 5, 2026
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.
Descriptions
This change adds Farsi (
fa) data for theairlinemodule so Faker can return localized names for airports, carriers, and aircraft types when using the Farsi locale. Airport and airline entries mix Iranian locations and operators with widely used international airlines and hubs. Aircraft display names are translated (manufacturer and common type wording in Persian) and use Persian digits in thenamefield where numbers appear;iataCode/iataTypeCodevalues stay ASCII for compatibility with the rest of the API.Changes
src/locales/fa/airline/with:airport.ts— Farsi airport names with IATA codes (sorted by code).airline.ts— Farsi airline names with IATA codes (sorted by code).airplane.ts— Farsi airplane type labels with IATA equipment codes, Persian numerals in names.index.ts—AirlineDefinitionwiring the three datasets.src/locales/fa/index.ts(airlineimport andLocaleDefinitionfield).test/__snapshots__/locale-data.spec.ts.snapso thefa“known characters” allowlist includes the extra Latin characters used in codes/names and Persian digits ۰–۹.