Hi,
I want to use multilanguage tags in Kirby 3. I understand that I can use queries to display the tags in frontend and backend, but what and where is the best way to store my values? I want to use key/value pairs (only value is language dependent). Should I use tags.de.json and tags.en.json? In which folder should these files be stored?
Thank you and best regards,
fillibuster
You can use the standard language files in /site/languages
or set up the translations in the plugin via the translation extension: Translations | Kirby. Then use the t() helper to retrieve those values.
Hi,
thank you. But, how can I use it in a Blueprint file? In the backend I need the key/values for a multi select (or only the keys):
type: multiselect
min: 0
max: 5
options:
key1:value1
key2:value2
Oh, this is about the blueprint options, I thought you were talking about KirbyTags.
Showing translated text for options:
options:
monday:
en: monday
fr: lundi
tuesday:
en: tuesday
fr: mardi
On the frontend, you can then either