Replace a String in a rails controller with I18n.t("key"). Where the key will be the path to the controller, including the controller name, and the string downcased and underscored.
Given a basic rails project --- app controllers admin test hello_controller.rb
class HelloController < ApplicaitonControllerdef index"Hello World"endend
This the create action will replace the selected text, and send a request to localeapp to create the key and english translation that it replaced.
class HelloController < ApplicaitonControllerdef indexI18n.t('controllers.admin.test.hello.hello_world')endend
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.