mezuro/prezento — pull request #139 by thiagovsk (2014-10-01 23:16:15+00:00)
Title: Internationalization

Hello guys, we are sending a pull request just to assess how you're doing.

We study the operation of http://guides.rubyonrails.org/i18n.html

Added some strings in en.yml and pt.yml

follow a pattern as follows:

* Common Strings, for example:

buttom_save: "Save"
end: "End"
the "The"
and "and"
name: "Name"
label: "Label"

* Specific Strings by following this model

eg: title_home_index: "Understanding Code Metrics"

where:

title: string type, eg type would be: button, title, or something that represents it.
home: The folder app / views / home
index: The index.html.erb Archive

We would like to assess, we do not know the best way to do this

It was an idea and would like to know your opinions.

We want to finish it because it is a good contribution = D.

To test the translation for pt just go in config / and put applicattion.rb
config.i18n.default_locale =: pt-BR

We will put it all together in the same commit.

Not fully tested, we saw that broke a test and we will fix it as soon as you evaluate.