Ruby Gem

How to use the LocaleData ruby gem.

The easiest way of exporting your LocaleData translations directly into your Ruby on Rails codebase in the form of YAML files is by using our ruby gem.

The setup is simple - just add the LocaleData gem into your Gemfile, add a configuration file and create your personal access token (if you don't have one). After that, it's as simple as running a pull command from your terminal.

You can find more details about adding and configuring the gem on the project page in the LocaleData web interface as a step-by-step installation guide.