I added a new theme and it is working correctly.
Within this theme a I added some custom fields for special Menuoptions and added a new section within the Admin Panel -> Pages -> Options. Works great and fine
Now I wanted to use translated labels and tried to refer to the languages.yaml file. But it doesn’t work.
My default.yaml blueprint says:
form:
fields:
tabs:
fields:
options:
fields:
menuoptions:
type: section
title: Menuoptions
underline: true
fields:
header.icon:
type: select
toggleable: true
label: THEME_THEMENAME:ICON
default: default
placeholder: Select Icon
data-options@: '\Grav\Theme\SilentR::iconList'
THEMENAME is of course within the languages.yaml file located in the theme’s root folder
THEME_THEMENAME:
ICON: My Icon
But it doesn’t work. So I switched back to Antimatter and tried within the this file. Same result, the file is not taken in account. As last point I tried to print out the (within Anitmatter) to print out some of the ‘standard’ strings {{ BLOG.ITEM.CONTINUE_READING|e }}. Same result, even the frontend prints out the tag but not the translation. What am I missing?