diff --git a/docs/guide/localization.md b/docs/guide/localization.md index 78b06886f61..1d7a54818b3 100644 --- a/docs/guide/localization.md +++ b/docs/guide/localization.md @@ -52,7 +52,7 @@ All locales together are around 5 MB in size. | en_GB | English (Great Britain) | | en_GH | English (Ghana) | | en_IE | English (Ireland) | -| en_IND | English (India) | +| en_IN | English (India) | | en_NG | Nigeria (English) | | en_US | English (United States) | | en_ZA | English (South Africa) | diff --git a/src/locale/en_IND.ts b/src/locale/en_IN.ts similarity index 77% rename from src/locale/en_IND.ts rename to src/locale/en_IN.ts index 2b93bae9497..bb7c21d7fc6 100644 --- a/src/locale/en_IND.ts +++ b/src/locale/en_IN.ts @@ -5,13 +5,13 @@ import { Faker } from '../faker'; import en from '../locales/en'; -import en_IND from '../locales/en_IND'; +import en_IN from '../locales/en_IN'; export const faker = new Faker({ - locale: 'en_IND', + locale: 'en_IN', localeFallback: 'en', locales: { - en_IND, + en_IN, en, }, }); diff --git a/src/locales/en_IND/address/city.ts b/src/locales/en_IN/address/city.ts similarity index 100% rename from src/locales/en_IND/address/city.ts rename to src/locales/en_IN/address/city.ts diff --git a/src/locales/en_IND/address/city_name.ts b/src/locales/en_IN/address/city_name.ts similarity index 100% rename from src/locales/en_IND/address/city_name.ts rename to src/locales/en_IN/address/city_name.ts diff --git a/src/locales/en_IND/address/default_country.ts b/src/locales/en_IN/address/default_country.ts similarity index 100% rename from src/locales/en_IND/address/default_country.ts rename to src/locales/en_IN/address/default_country.ts diff --git a/src/locales/en_IND/address/index.ts b/src/locales/en_IN/address/index.ts similarity index 100% rename from src/locales/en_IND/address/index.ts rename to src/locales/en_IN/address/index.ts diff --git a/src/locales/en_IND/address/postcode.ts b/src/locales/en_IN/address/postcode.ts similarity index 100% rename from src/locales/en_IND/address/postcode.ts rename to src/locales/en_IN/address/postcode.ts diff --git a/src/locales/en_IND/address/state.ts b/src/locales/en_IN/address/state.ts similarity index 100% rename from src/locales/en_IND/address/state.ts rename to src/locales/en_IN/address/state.ts diff --git a/src/locales/en_IND/address/state_abbr.ts b/src/locales/en_IN/address/state_abbr.ts similarity index 100% rename from src/locales/en_IND/address/state_abbr.ts rename to src/locales/en_IN/address/state_abbr.ts diff --git a/src/locales/en_IND/address/street.ts b/src/locales/en_IN/address/street.ts similarity index 100% rename from src/locales/en_IND/address/street.ts rename to src/locales/en_IN/address/street.ts diff --git a/src/locales/en_IND/company/index.ts b/src/locales/en_IN/company/index.ts similarity index 100% rename from src/locales/en_IND/company/index.ts rename to src/locales/en_IN/company/index.ts diff --git a/src/locales/en_IND/company/suffix.ts b/src/locales/en_IN/company/suffix.ts similarity index 100% rename from src/locales/en_IND/company/suffix.ts rename to src/locales/en_IN/company/suffix.ts diff --git a/src/locales/en_IND/index.ts b/src/locales/en_IN/index.ts similarity index 87% rename from src/locales/en_IND/index.ts rename to src/locales/en_IN/index.ts index d15a88cf5cb..c066149221a 100644 --- a/src/locales/en_IND/index.ts +++ b/src/locales/en_IN/index.ts @@ -9,7 +9,7 @@ import internet from './internet'; import name_ from './name'; import phone_number from './phone_number'; -const en_IND: LocaleDefinition = { +const en_IN: LocaleDefinition = { title: 'English (India)', address, company, @@ -18,4 +18,4 @@ const en_IND: LocaleDefinition = { phone_number, }; -export default en_IND; +export default en_IN; diff --git a/src/locales/en_IND/internet/domain_suffix.ts b/src/locales/en_IN/internet/domain_suffix.ts similarity index 100% rename from src/locales/en_IND/internet/domain_suffix.ts rename to src/locales/en_IN/internet/domain_suffix.ts diff --git a/src/locales/en_IND/internet/free_email.ts b/src/locales/en_IN/internet/free_email.ts similarity index 100% rename from src/locales/en_IND/internet/free_email.ts rename to src/locales/en_IN/internet/free_email.ts diff --git a/src/locales/en_IND/internet/index.ts b/src/locales/en_IN/internet/index.ts similarity index 100% rename from src/locales/en_IND/internet/index.ts rename to src/locales/en_IN/internet/index.ts diff --git a/src/locales/en_IND/name/first_name.ts b/src/locales/en_IN/name/first_name.ts similarity index 100% rename from src/locales/en_IND/name/first_name.ts rename to src/locales/en_IN/name/first_name.ts diff --git a/src/locales/en_IND/name/index.ts b/src/locales/en_IN/name/index.ts similarity index 100% rename from src/locales/en_IND/name/index.ts rename to src/locales/en_IN/name/index.ts diff --git a/src/locales/en_IND/name/last_name.ts b/src/locales/en_IN/name/last_name.ts similarity index 100% rename from src/locales/en_IND/name/last_name.ts rename to src/locales/en_IN/name/last_name.ts diff --git a/src/locales/en_IND/phone_number/formats.ts b/src/locales/en_IN/phone_number/formats.ts similarity index 100% rename from src/locales/en_IND/phone_number/formats.ts rename to src/locales/en_IN/phone_number/formats.ts diff --git a/src/locales/en_IND/phone_number/index.ts b/src/locales/en_IN/phone_number/index.ts similarity index 100% rename from src/locales/en_IND/phone_number/index.ts rename to src/locales/en_IN/phone_number/index.ts diff --git a/src/locales/index.ts b/src/locales/index.ts index 8ed6c796292..6c8ad8d8776 100644 --- a/src/locales/index.ts +++ b/src/locales/index.ts @@ -20,7 +20,7 @@ import en_CA from './en_CA'; import en_GB from './en_GB'; import en_GH from './en_GH'; import en_IE from './en_IE'; -import en_IND from './en_IND'; +import en_IN from './en_IN'; import en_NG from './en_NG'; import en_US from './en_US'; import en_ZA from './en_ZA'; @@ -79,7 +79,7 @@ export type KnownLocale = | 'en_GB' | 'en_GH' | 'en_IE' - | 'en_IND' + | 'en_IN' | 'en_NG' | 'en_US' | 'en_ZA' @@ -140,7 +140,7 @@ const locales: KnownLocales = { en_GB, en_GH, en_IE, - en_IND, + en_IN, en_NG, en_US, en_ZA,