You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FEATURE] Support for XLIFF 2.0 translation files (#6113)
* [FEATURE] Support for XLIFF 2.0 translation files
Resolves: TYPO3-Documentation/Changelog-To-Doc#1368
Releases: main
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
* Apply suggestion from @brotkrueml
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
---------
Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com>
- **XLIFF 2.x:** uses `<unit>` elements and the `<target state="…">` attribute
81
+
(`state="reviewed"` / `state="final"` = approved)
82
+
- **XLIFF 1.2:** uses `<trans-unit>` and the `approved="yes"` attribute
96
83
97
-
Translating files locally is useful for extensions which should not be published
98
-
or for creating :ref:`custom translations <xliff-translating-custom>`.
84
+
Both formats are automatically detected and parsed by TYPO3.
99
85
86
+
You can use any text or translation editor to modify `.xlf` files locally.
87
+
Ensure that your chosen tool supports the XLIFF 2.x format, which is the
88
+
default for TYPO3 v14 and later.
100
89
101
90
.. index:: Localization; Custom translations
102
91
.. _xliff-translating-custom:
103
92
104
-
Custom translations
105
-
===================
93
+
Overriding or extending translations
94
+
====================================
106
95
107
96
.. versionchanged:: 14.0
108
97
`$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']` has been moved
109
98
to `$GLOBALS['TYPO3_CONF_VARS']['LANG']['resourceOverrides'] <https://docs.typo3.org/permalink/t3coreapi:confval-globals-typo3-conf-vars-lang-resourceoverrides>`_.
0 commit comments