DEV Community

Discussion on: The Basics of Rails I18n - Translate errors, models, and attributes

Collapse
swiknaba profile image
Lud • Edited on

The fast way (if you cannot extract your desired language from e.g. the rails-i18n library): Use a tool like lokalise.com/ or translation.io/, sync the default English messages to that tool. Set up your desired language (e.g. Japanese) using that tool. Then let the tool auto-translate everything into your target language. Optionally, pay a professional translator to improve the quality of your translations (simply hand out access to Lokalise/Translation). Sync translated strings back into your codebase (will already be properly formatted and separated into files per language). There is also this amazing gem: github.com/glebm/i18n-tasks to help you sort/extract/reformat/... your existing translations.