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

Translation of custom panel menu labels #6311

Closed
grommasdietz opened this issue Feb 29, 2024 · 0 comments · Fixed by #6329
Closed

Translation of custom panel menu labels #6311

grommasdietz opened this issue Feb 29, 2024 · 0 comments · Fixed by #6329
Assignees
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby
Milestone

Comments

@grommasdietz
Copy link

Description

Since Kirby 4.0.0 it is possible to customize the panel menu. That’s a great feature! Sadly it’s not possible to translate the labels, like:

'panel' =>[

    'menu' => [
        'site' => [
            'label' => [
                'en' => 'Site',
                'de' => 'Seite',
            ],
        ],
        'languages',
        'users',
        'system',
        'stats',
    ],
],

Expected behavior
Label translation of users current language

Screenshots
Screenshot showing wrong rendering of labels inside panel menu

Your setup

Kirby Version
4.1.1

@distantnative distantnative added the type: enhancement ✨ Suggests an enhancement; improves Kirby label Feb 29, 2024
@afbora afbora self-assigned this Mar 5, 2024
@afbora afbora added this to the 4.2.0 milestone Mar 5, 2024
afbora added a commit that referenced this issue Mar 5, 2024
@afbora afbora linked a pull request Mar 5, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants