Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panel Interface Translations #8

Closed
Tracked by #11
culbrique opened this issue Jan 18, 2021 · 3 comments
Closed
Tracked by #11

Panel Interface Translations #8

culbrique opened this issue Jan 18, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@culbrique
Copy link

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

@Daandelange
Copy link
Owner

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.

@Daandelange Daandelange added the enhancement New feature or request label Jan 18, 2021
@Daandelange Daandelange changed the title Languages Translations Mar 17, 2021
@Daandelange Daandelange changed the title Translations Panel Interface Translations Mar 17, 2021
@Daandelange
Copy link
Owner

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.

@Daandelange
Copy link
Owner

Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants