Actions
Feature #106640
openSite settings definition: Allow localization of enum labels
Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2025-04-30
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
It is possible to localize labels in site settings definitions, but not the labels of an enum. They are always treated as a string...
I would like to see that something like this is possible:
setting.option:
# localized setting label - works already
label: 'LLL:EXT:example/Resources/Private/Language/locallang.xlf:setting.option'
category: Category
type: string
enum:
option1: 'LLL:EXT:example/Resources/Private/Language/locallang.xlf:setting.option.1' # localized enum label - does not work!
option2: 'LLL:EXT:example/Resources/Private/Language/locallang.xlf:setting.option.2'
default: 'option2'
No data to display
Actions