Issue Bug Closed

#57369Constant categories cannot be localized

Xavier Perseguers 03/27/14, 11:38 updated 10/02/18, 11:58

Description

When you define a constant category in ext_conf_template.txt, you cannot localize the main category.

Standard definition

No subcategory nor ordering

# cat=basic; type=boolean; label=LLL:EXT:sphinx/Resources/Private/Language/locallang_db.xlf:settings.sphinx.version
loadWhatever = 0

No subcategory, but ordering

# cat=basic//10; type=boolean; label=LLL:EXT:sphinx/Resources/Private/Language/locallang_db.xlf:settings.sphinx.version
loadWhatever = 0

Custom subcategory

# customsubcategory=subcatKey=LLkey;
# cat=category/subcatKey;

Concept

Idea is to be as consistant and logical as possible and be able to define custom category the same way we may define custom subcategories. This is much more logical than being able to define a LLL:EXT: localized label right as “category” because it would force to define it over and over again.

Custom category

# customcategory=catKey=LLkey;
# cat=catKey/typo; type=boolean; label=LLkey
nameOfConstant = foo

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.