Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Localizator is a rails plugin which helps to maintain YAML tranlsation files in sync

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 init.rb
README.rdoc

Localizator

This plugin provides two simple rake tasks to help keeping tranlations in sync with the default locale.

Usage

Start creating a new locale with:

rake localizator:update[nl]

It will generate a new file in 'config/locales/nl-missing.yml' with the keys in your default locale which need to be translated.

Open this file in your favourite text editor and translate it!

Once done you can merge the translatios into your main locale file ('config/locales/nl.yml') with:

rake localizator:merge[nl]

Since this is the first run, this will simply copy your translations to the main locale file.

Now, every time you edit your main locale file you can run the samle update task with:

rake localizator:update[nl]

Then translate the missing keys in your 'config/locales/nl-missing.yml' file and merge them back into the main locale file.

Happy localization!

Something went wrong with that request. Please try again.