kirby-link-field icon indicating copy to clipboard operation
kirby-link-field copied to clipboard

Translation of settings labels

Open mynameisfreedom opened this issue 2 years ago • 1 comments

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 💪

mynameisfreedom avatar Dec 08 '22 19:12 mynameisfreedom

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

https://github.com/OblikStudio/kirby-link-field/blob/e348d4c2c7f0b1deef51da4a6f81bd76ca0533b9/languages/en.php#L9-L11

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.

hdodov avatar Dec 14 '22 08:12 hdodov