Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Regional locale naming to match the rails-i18n gem

  • Loading branch information...
commit 9d8ceb92b39ae242e1a557c8bec1f0c7c0f7562e 1 parent 8c6fc70
@chrismhilton chrismhilton authored
View
2  README.md
@@ -12,7 +12,7 @@ Fork Details
------------
This is a fork of the [faker](https://github.com/stympy/faker) gem created by stympy.
-This fork has been created to update the GB locale file and provide the following additional functionality:
+This fork has been created to update the GB locale file, use regional locale naming that matches the naming used in the [rails-i18n](https://github.com/svenfuchs/rails-i18n) gem (ie. en-GB rather than en-gb) and provide the following additional functionality:
(1) address related UK cities and counties:
View
2  lib/locales/de-ch.yml
@@ -1,4 +1,4 @@
-de-ch:
+de-CH:
faker:
address:
country_code: [CH, CH, CH, DE, AT, US, LI, US, HK, VN]
View
2  lib/locales/en-gb.yml
@@ -1,4 +1,4 @@
-en-gb:
+en-GB:
faker:
address:
city_prefix: [North, East, West, South, Great, Great, Little, Long, Thorpe, Upper, Lower]
View
2  lib/locales/en-us.yml
@@ -1,4 +1,4 @@
-en-us:
+en-US:
faker:
internet:
domain_suffix: [com, us, biz, info, name, net, org]
Please sign in to comment.
Something went wrong with that request. Please try again.