Project

General

Profile

Actions

Bug #57369

closed

Constant categories cannot be localized

Added by Xavier Perseguers about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2014-03-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #57371: Document custom constant categoriesClosedXavier Perseguers2014-03-27

Actions
Actions

Also available in: Atom PDF