Synchronize locale yml files tool in Rails
- by Konstantinos
I was wondering, is it possible to synchronize with any tool or gem or w/e 2 or more yml files?
eg. i have the Greek yml file called el.yml
el:
layout:
home: "??????"
and the english one called en.yml
en:
layout:
home: "Home"
category: "Category"
Is there any tool that based on a single yml file ie en.yml ( root ) that goes to the rest of the ymls and creates the missing translations with the default (en.yml) values?
After running such a tool i would expect to have the el.yml become likes this:
el:
layout:
home: "??????"
category: "Category"
I am using a similar tool in .NET RESX Synchronizer and it does exactly that, but for resx files.