Localization and template strings
All strings in templates use the
{{ trans:strings_file.string_id }}
1
pattern to call the
{{ trans }}
1
tag and get the correct translation for the current site. Learn more in the Statamic docs on the translate tagopen in new window.
It is currently not possible in Statamic to translate field labels and descriptions so I settled for English. Translate the labels and descriptions in all fieldsets (resources/fieldsets/*.yaml
) and follow the the instructions in the Statamic documentationopen in new window to make the Statamic CP available in your language of choice.