2 min. read
Disable GetText in your Project
Our original goal was to make the best translation gem for any Rails application, and one of the biggest requirements was to accept the GetText syntax, and it works quite well!
But we noticed that about half of our customers only use YAML and never even use the GetText syntax. The feedback we got is that we did a good job dealing with YAML keys too. And some people came here just for that feature.
Since we don’t want to annoy YAML users with GetText (the sync is a little bit longer, and some specific files are created in the project), we decided to add a new configuration option.
Starting with the 1.4 version of the gem,
you can add config.disable_gettext = true
in your translation.rb
file to
completely disable GetText.