Skip to content


Subversion checkout URL

You can clone with
Download ZIP
This just contains i18n country translations
Branch: master


Build Status


The purpose of this gem is to simply provide country translations. The gem is intended to be easy to combine with other gems that require i18n country translations so we can have common i18n country translation gem.

If you're doing anything with country names and translations, there's no need to reinvent the wheel and add your own translations. Just use this gem's country translations and skip the hassle of having to add and manage each country translation for each locale.

Supported Locales

Locales we will include are specified by ISO 639-1 alpha2, with some extra 3 character locale codes supported by Unicode,

Supported Country Codes

Country codes used are those specified in ISO 3166-2,


Add to your Gemfile:

gem 'i18n-country-translations'


I18n.t(:US, :scope => :countries)


t(:US, :scope => :countries)


Most locale translations already exist but if you find an error or we're missing something, please submit a pull request.

Most of the locales were generated using this rake task which you might find useful somehow:

IMPORT_LOCALE=en rake import:country_translation

It will generate a new yml file that contains the country translations for the locale specified. Please note that some of the country translations may still be missing.

You can also use these standard translations to help if you don't want to use the script above:



You may also be intersted in the i18n_country_select gem which basically gives you a helper to make use of these translations in a coutry select dropdown.

If you need to use timezones, we also created a convenient way to translate the default Rails timezones with the gem i18n-timezones

Version History

  • 1.2.2 - Add Traditional Chinese support

  • 1.2.1 - Update glob to include locales again. Fix import task

  • 1.1.1 - Fixing bug from incorrect translation paths. Update gemspec for Rails 4 support.

  • 1.1.0 - Updating all locales and separating out iso639-1 locales from 3 character unicode supported locales

  • 1.0.4 - Adding zh-HK and zh-CN translations.

  • 1.0.3 - Adding zh-TW translations.

  • 1.0.2 - Fixing bad PT translations. Adding licenses to gemspec.

  • 1.0.1 - Fixing bad version in Gemfile.lock

  • 1.0 - Adding fr-CA translation

  • 0.0.9 - Update the locale files with the last values from the CLDR repository



Special thanks

Something went wrong with that request. Please try again.