Sorry, we don't support your browser.  Install a modern browser

Allow all Panel fields to be translatable by placeholders

E

As detailed in this forum thread: https://forum.getkirby.com/t/radio-select-field-localisation/25774 currently some labels in Panel can not be translated by using placeholders. This blocks a complex admin panel from relying 100% on external translation fields.

Using placeholders instead of burning in the values of different languages helps the separation of concerns, it keeps the blueprints shorter and easier to understand. It makes it easier to add new languages and also translators don’t need to read / understand YML files.

2 years ago

Would be of great help if we could start collecting where this is still needed/currently not supported.

2 years ago
E

Hey!
Thanks, for taking a look into this topic. I checked with the most recent version of Kirby, and the cases described in the above forum thread are still persistent: Radio / Select field localisation
In the meantime I also realised, that it would be great to support translations when referencing bool fields, in table layout pages section for example. Currently I have a table where if I reference a bool field, and I have to do this trick to get “international” results: value: "{​{​ page.highlighted.toBool() ? '✅' : '-' }}" instead of just using value: page.highlighted.toBool().

2 years ago
E

Another instance I found: If a structure contains another structure, the default preview on the admin panel shows the number of inner entries, but this value is not translated, only sais “X Entries”.

2 years ago