happy-se-life / kanban

Kanban plugin for redmine
https://it-managers-life.hatenablog.com/entry/2019/03/24/112052
MIT License
122 stars 38 forks source link

showing: translation missing when using with an other language #20

Closed yennor closed 4 years ago

yennor commented 4 years ago

When I open redmine in a browser which got as default language german, then the kanban board shows at a lot of places tanslation missing, like: translation missing: de.kanban_menu_caption translation missing: de.kanban_label_recent_history_is_here etc. it should just use the english translation if there is no localized one...

happy-se-life commented 4 years ago

@yennor Hello,

I am using google chrome browser and redmine3.4. I changed browser's language to German, then open redmine. It got as default language German. The kanban board display normaly. I can not reproduce the problem. What is your browser? Which your version of redmine?

yennor commented 4 years ago

i'm using redmine 4.0.x. It behaves the same in chromium and firefox. Here is a screenshot. maybe it helps? Screenshot_20200527_101359

happy-se-life commented 4 years ago

@yennor Hello,

I have installed redmine-4.0.1 and kanban plugin. Still, I can not reproduce the problem. See screenshot. Looks like you are using a custom design theme. Would you please try the default theme once?

redmine-4 0 1-kanban

yennor commented 4 years ago

that's really strange. I've just changed to the default theme and the result is the same. I don't know enough about redmine to have any idea what else could be the problem...

Screenshot_20200528_094416

happy-se-life commented 4 years ago

@yennor Hello,

Would you please check install directory name of kanban plugin? ex.) .../redmine-4.0.1/pulugins/kanban If you rename the installation directory from "kanban", The problem may occur. I have no idea too, if this isn't the cause.

Finally, there is a way to create a language file. Copy plugins/kanban/config/locales/en.yml into de.yml, and modify 2nd line of the file to "de:". I'm sorry I don't have a good solution.

yennor commented 4 years ago

hi

happy-se-life commented 4 years ago

Although this case did not lead to a fundamental solution, a workaround was found, so it ends.