Daandelange/kirby3-simplestats

Panel Interface Translations

culbrique opened this issue · 3 comments

Hello
I would like to help you for the French translation. Can you provide all entries that must be translated plz ?
Bye

Hey, thanks for that.
There's no translations files "ready for translation" and I don't plan to focus on interface details anywhere soon. Everything is hardcoded in english right now.

If you wish, you can make the panel translated. I have no idea how to do that but I'm sure Kirby has ressources on this; otherwise a translated plugin could serve as a model.

If you're still interested in translating the plugin, the commit above references some example code to help translating the plugin. Most of the UI elements should be easy to translate.

  • Translations end up in en.php, fr.php, etc..
  • Vue components can be translated directly with $t('something'). (don't forget tonpm run dev to see changes)
  • If the translation comes from PHP, it's a bit harder, but there shouldn't be much of them.

Closing due to inactivity.