Skip to content

Commit

Permalink
Merge pull request #563 from RogerPodacter/patch-1
Browse files Browse the repository at this point in the history
Fix "it's"-related typos
  • Loading branch information
rposborne committed Jan 14, 2019
2 parents b74e39e + cdb84aa commit 6806df2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.markdown
Expand Up @@ -65,7 +65,7 @@ gem 'countries', require: 'countries/global'

As of 2.0 you can selectively load locales to reduce memory usage in production.

By default we load I18n.available_locales if I18n is present, otherwise only [:en]. This means almost any rails environment will only bring in it's supported translations.
By default we load I18n.available_locales if I18n is present, otherwise only [:en]. This means almost any rails environment will only bring in its supported translations.

You can add all the locales like this.

Expand Down Expand Up @@ -220,9 +220,9 @@ c.address_format # => "{{recipient}}\n{{street}}\n{{city}} {{region}} {{postalco

## Loading Custom Data

As of 2.0 countries supports loading custom countries / overriding data in it's data set, though if you choose to do this please contribute back to the upstream repo!
As of 2.0 countries supports loading custom countries / overriding data in its data set, though if you choose to do this please contribute back to the upstream repo!

Any country registered this way will have it's data available for searching etc... If you are overriding an existing country, for cultural reasons, our code uses a simple merge, not a deep merge so you will need to __bring in all data you wish to be available__. Bringing in an existing country will also remove it from the internal management of translations, __all registered countries will remain in memory__.
Any country registered this way will have its data available for searching etc... If you are overriding an existing country, for cultural reasons, our code uses a simple merge, not a deep merge so you will need to __bring in all data you wish to be available__. Bringing in an existing country will also remove it from the internal management of translations, __all registered countries will remain in memory__.

``` ruby
ISO3166::Data.register(
Expand Down

0 comments on commit 6806df2

Please sign in to comment.