Skip to content

Translating to English

Mei Gwilym edited this page Feb 12, 2014 · 4 revisions

This page documents the steps to get Catarse up and going in English. Maybe there should be a separate branch for this?

Update config/initializers/locale.rb to say:

I18n.default_locale = :en

You will want to re-start your Rails server and clear your browser cookies after making this change.

There are several files that contain Portugese text. These will need to be translated by hand. They include:

  1. app/views/projects/backers/_anonymous_warning.pt.html.slim
  2. app/views/projects/backers/_back-text.pt.html.slim
  3. app/views/projects/_formatting_tips.pt.html.haml
  4. app/views/static/_guidelines_text.pt.html.haml
  5. app/views/static/_how_it_works.pt.html.haml
  6. app/views/static/_more_tips.pt.html.haml
  7. app/views/static/faq.pt.html.haml
  8. app/views/static/privacy.pt.html.haml
  9. app/views/static/terms.pt.html.haml

We are planning to use some kind of CMS manager to handle text like faq, privacy and terms (probably others), that will change for almost all sites using this app. Probably the best option is something that we can integrate to catarse code and can handle different translations