What is the best way to ship a gem with default i18n translations for strings used by it?
There are a couple of things you need to do :
i18n
as a dependencyI18n.t
callsload_path
(e.g. I18n.load_path += 'path/to/your/en.yml'
)That's pretty much it, you can also set up a public project on Locale to crowdsource translations in other locales if you're so inclined.