LanguageLabels
From TYPO3Wiki
Label naming conventions
Language Labels in TYPO3 start with LLL: and are used to get text snippets inside PHP/TS code, without hardcoding them. This enables translations to other languages. The texts are saved in XML files and eacht text snippet is identified by it's label there.
- label should have one prefix and one identifier, separated by a dot. E.g. page.deleteButton, page.deleteReally, page.deleteSuccessful
- all parts have to use studlyCaps
- select your prefix to group all labels of one functionality together
- do not use prefixes like "button", "headline" and so one, use "page.deleteButtonCancel" instead
- start your identifier with the subfunction prefixed, if applicable
- use one file per module, if your labels are specific to this module
- place your labels in EXT:lang/locallang_misc.php, if they are general and could be used in other places, too
- be explicit, e.g. use "delete" instead of "rm"
Text improvement
Please reference texts of TYPO3 Backend here, which have to be improved (only english texts!).
| Where | Old | New | Concerns | LLL |
|---|---|---|---|---|
| Page module, when no page is selected, yet |
Web>Page module
|
|
LLL:EXT:cms/layout/locallang.xml:clickAPage_content | |