Skip to content

Added local_name and description fields for countries in postal code - #13

Merged
ankitgadling merged 2 commits into
ankitgadling:mainfrom
Meghana-2124:add-localname-description
Oct 2, 2025
Merged

Added local_name and description fields for countries in postal code #13
ankitgadling merged 2 commits into
ankitgadling:mainfrom
Meghana-2124:add-localname-description

Conversation

@Meghana-2124

@Meghana-2124 Meghana-2124 commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

This PR adds two new fields, local_name and description, for 10 countries in the postal code dataset (postal_codes.json).

local_name provides the name of the country in its native language.

description provides a short description of the postal code format for that country.

Example entry after the update:

{
"country_code": "IN",
"country_name": "India",
"postal_code_regex": "^[1-9][0-9]{5}$",
"sample_valid": "110001",
"sample_invalid": "000000",
"local_name": "भारत",
"description": "Indian PIN codes are six digits; the first digit represents the postal zone."
}

Note: This PR updates only 10 out of 52 countries. Additional countries can be added in future contributions.

Related to #7

@ankitgadling
ankitgadling merged commit f58c579 into ankitgadling:main Oct 2, 2025
2 checks passed
@ankitgadling ankitgadling added invalid This doesn't seem right and removed hacktoberfest hacktoberfest-accepted labels Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants