A Step-by-Step Guide to JavaScript Localization

See the original posting on DZone Python

Internationalization (dubbed as I18n) and localization (dubbed as L10n) are very important (though often hard) steps for any application that is going to be used worldwide. In one of the previous articles we’ve seen how to implement I18n at the back-end powered by Ruby on Rails, but today it’s time to talk about front-end. In this article we will discuss how to localize JavaScript applications using the following solutions:

  • jQuery.I18n by Wikimedia
  • Polyglot by Airbnb
  • Globalize by jQuery team

All of these solutions are quite different and have their own specifics so we’ll see them all in action.