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 settings labels #70

Open
mynameisfreedom opened this issue Dec 8, 2022 · 1 comment
Open

Translation of settings labels #70

mynameisfreedom opened this issue Dec 8, 2022 · 1 comment

Comments

@mynameisfreedom
Copy link

Hi there, thank you for the great plugin 🙏

I found one feature missing: it is not possible to translate settings labels (popup, text, hash).

Keep up the good work 💪

@hdodov
Copy link
Contributor

hdodov commented Dec 14, 2022

Actually, they can be translated. Here are the English texts, for example:

'label.text' => 'Text',
'label.popup' => 'Popup',
'label.fragment' => 'Fragment',

You can submit a PR with the translation file for the language you want.


You could also change the labels on a per-field basis like so:

fields:
  link:
    type: link
    settings:
      popup:
        label: My Custom Label

Check out the docs.

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

No branches or pull requests

2 participants