.. include:: /Includes.rst.txt .. _locallang-elements: Elements ^^^^^^^^ This is the elements and their nesting in the locallang-XML format. .. _locallang-elements-nesting: Elements nesting other elements ("Array" elements): """"""""""""""""""""""""""""""""""""""""""""""""""" All elements defined here cannot contain any string value but *must* contain another set of elements. (In a PHP array this corresponds to saying that all these elements must be arrays.) .. t3-field-list-table:: :header-rows: 1 - :Element,20: Element :Description,60: Description :Child elements,20: Child elements - :Element: :Description: Document tag :Child elements: - :Element: :Description: Contains meta data about the locallang-XML file. Used in translation, but not inside TYPO3 directly. :Child elements: - :Element: :Description: Contains the data for translations .. note:: The contents in the tag is *all that is needed for labels inside TYPO3*. Everything else is meta information for the translation tool! :Child elements: - :Element: :Description: Contains hash-integers for each translated label of the default label at the point of translation. This is used to determine if the default label has changed since the translation was made. :Child elements: - :Element: :Description: Contains the text of the default label that was the basis of the translated version! The original text is used to show a diff between the original base of the translation and the new default text so a translator can quickly see what has changed. :Child elements: - :Element: :Description: Array of labels for a language. The "index" attribute contains language key. There are two cases in the context "" to note: - index = "default": Array of default labels. - index = [language key] : - If string: Pointer to external file containing translation, e.g. "EXT:csh\_dk/lang/dk.locallang\_csh\_web\_info.xml" - If array: Translations inline in main file (deprecated) - [If not existing, *recommended* ]: Translations in external default file typo3conf/l10n/ :Child elements: