missing translation
Hello,
I tried to install your plugin but get "missing translation" (with englisch or spanish).
Do you have an adivce how to fix this?
Thanks.
Replies
RE: missing translation - Added by Adrián Peña Castro 210 days ago
Marco G wrote:
Hello,
I tried to install your plugin but get "missing translation" (with englisch or spanish). Do you have an adivce how to fix this?
Thanks.
Hi Marco
The plugin has been developed using rails 2.1.2 and have a different internationalization system.
The 0.8x versions of redmine uses the gloc internationalization (rails 2.1.2) but redmine 0.9 uses the i18n internationalization (with rails 2.2.2).
To adapt the plugin to i18n internationalization do this:
Create "config/locales" directory structure into the <redmine>/vendor/plugins/redmine_risks/ directory.
Copy "en.yml" into <redmine>/vendor/plugins/redmine_risks/config/locales
Edit en.yml and add "en:" on the top.
For example:
"en.yml" in lang directory (gloc internationalization):
- English strings go here
label_main_project: "Main project"
label_group_by: "Group by"
"en.yml" in config/locales (i18n internationalization)
- English strings go here
en:
label_main_project: "Main project"
label_group_by: "Group by"
Regards