How can plugins work in Verison 0.9.0 stable

Added by hanjiang zheng over 7 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!

090problem.JPG (9.1 KB)

090problem02.JPG (16.1 KB)

090problems03.JPG (41.9 KB)

Replies (4)

RE: How can plugins work in Verison 0.9.0 stable - Added by Hubert Martin-Deidier over 7 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 over 7 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)