Actions
Task #31039
closedworkspaces: English XLIFF files should not contain target element
Start date:
2011-10-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Currently the XLIFF files provided with the Core are "en" -> "en" translation files,
and this is a wrong design.
English localization files should only contain the source attribute to become templates for the different localizations.
The command use to process all the file, is xmlstarlet:
xmlstarlet ed -u "/xliff/file[@date]/@date" -v $(date -u +"%Y-%m-%dT%H:%M:%SZ") file.xlf | \ xmlstarlet ed -d "/xliff/file/body/trans-unit/target" | \ xmlstarlet ed -d "/xliff/file[@target-language]/@target-language" | \ xmlstarlet ed -d "/xliff/file/body/trans-unit[@approved]/@approved" | \ xmlstarlet ed -u "/xliff/file[@source-language]/@source-language" -v en | xmlindent -t
Updated by Mr. Hudson about 13 years ago
Patch set 2 of change Icdb7d4b1e004c6f730a01839be042dc2a72a650a has been pushed to the review server.
It is available at http://review.typo3.org/5923
Updated by Xavier Perseguers about 13 years ago
- Subject changed from English XLIFF files should not contain target element to workspaces: English XLIFF files should not contain target element
Updated by Steffen Ritter about 13 years ago
- Status changed from New to Under Review
Updated by Dominique Feyer about 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset commit:84ee64ad3caa4e56e3887bb68ba5c5a82727df06.
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
- Target version deleted (
4.6)
Actions