Project

General

Profile

How can plugins work in Verison 0.9.0 stable

Added by hanjiang zheng almost 15 years ago

i had update my redmine from 0.8.4 to 0.9.0
but i had found ,all plugins had problems in 0.9.0 most of the problem is "translation missing: en"
how can i do ?
Thanks!


Replies (4)

RE: How can plugins work in Verison 0.9.0 stable - Added by Hubert Martin-Deidier almost 15 years ago

According to what I've seen with a custom plugin I made, the files thst store translations ahev moved.

In fact, they used to be in the directory /lang and now there are in the directory /config/locales. Moreover the content of theses files has changed and some minor modifications must be included.

Consequently, if you are not a developper you must wait for a plugin release. otherwise, you can anticipate by looking in the directory /redmine/sample_plugin/config/locales and apply evolutions to your plugin.

RE: How can plugins work in Verison 0.9.0 stable - Added by Alexander Kulemin almost 15 years ago

May be, you can copy file ./sample_plugin/lang/en.yml to /config/locales/en.yml. But new file must be:

en: 
  lable_report_type: ...
  ...: ...

    (1-4/4)