Actions
Bug #57369
closedConstant categories cannot be localized
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
Actions