The source code for the demo app is available at Git Hub.
I18n was the Rails’ core feature starting from version 2.2.
If your company is growing and seeking to go international, localization is an important step to do.
By the end of this article you will have a solid understanding of using I18n with Rails and be ready to employ the described techniques when building the real-world apps.
Next we check whether this locale is supported and either set it or use the default one.