forked from catarse/catarse
-
Notifications
You must be signed in to change notification settings - Fork 0
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:
- app/views/projects/backers/_anonymous_warning.pt.html.slim
- app/views/projects/backers/_back-text.pt.html.slim
- app/views/projects/_formatting_tips.pt.html.haml
- app/views/static/_guidelines_text.pt.html.haml
- app/views/static/_how_it_works.pt.html.haml
- app/views/static/_more_tips.pt.html.haml
- app/views/static/faq.pt.html.haml
- app/views/static/privacy.pt.html.haml
- 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