-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update xliff version number in the example code, add xml declaration #1301
Conversation
The documentation should reflect best practices given by the following extension which is referenced in other parts of the documentation. https://github.com/TYPO3-Documentation/tea/blob/main/Resources/Private/Language/locallang.xlf Stated best practice for xlf files is to use XLIFF Version 1.2. This should be reflected by the official documentation. Also it makes linting easier. It shouldn't do harm, TYPO3 itself doesn't care about the used version.
Since there is no change yet since #387 there is no point in changing the XLIFF version. Please understand that the docs should reflect what TYPO3 actually does and currently TYPO3 uses version 1.0 in all of its files. If you would like to see an update here, please suggest a version bump for TYPO3 first. TYPO3 master XLIFF versionshttps://github.com/TYPO3/TYPO3.CMS/tree/25a9262ae71fa2c10801a63ee8dc92a7a8d12578
|
Since the core now adapted to XLF 1.2 I would like to propose re-opening this PR. |
The documentation should reflect best practices given by the following extension which is referenced in other parts of the documentation. https://github.com/TYPO3-Documentation/tea/blob/main/Resources/Private/Language/locallang.xlf Stated best practice for xlf files is to use XLIFF Version 1.2. This should be reflected by the official documentation. Also it makes linting easier. It shouldn't do harm, TYPO3 itself doesn't care about the used version.
Best practices for .xlf are given in the following extension which is referenced in other parts of the documentation.
https://github.com/TYPO3-Documentation/tea/blob/main/Resources/Private/Language/locallang.xlf
Stated best practice is to use XLIFF Version 1.2. This should be reflected by the official documentation. Using a recent version also makes linting easier.
It shouldn't do harm, TYPO3 itself doesn't care about the used version.