Error initializing Redmine

-2

After modifying one of my plugins under development in Redmine, it can not boot again and returns me the following message:

ActionView::Template::Error (can not load translations from D:/Ruby/B233/plugins/uc_rh/config/locales/pt-Br.yml, expected it
 to return a hash, but does not):
    1: <h2><%= l(:label_home) -%>
    2: </h2>
    3:
    4:

Could my Controller of the plugin be influencing when rendering the page?

    
asked by anonymous 19.03.2014 / 14:17

1 answer

1

Your translation file is not formatted correctly according to the YAML format specification. Look for missing spaces, incorrect indentations, or the like. If you can, post your translations file for a look.

In addition, you can easily verify that the file is in the correct format by loading it directly into irb as follows:

YAML.load_file("caminho_para_seu_arquivo.yml")
    
21.03.2014 / 22:25