Bug #34170

XLIFF models are created with wrong locale

Added by Karsten Dambekalns over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-02-22
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:I18n
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

If a translation is requested but no (exact) match is found, a different locale may take effect (e.g. en instead of en_UK). The XLIFF model created will refer to the en XLIFF file, but claim it's locale is en_UK. This leads to further problems with translations (like missing labels if no target elements are present in XLIFF files).

Associated revisions

Revision b24339c9
Added by Karsten Dambekalns over 3 years ago

[BUGFIX] Fixes wrong locale in XLIFF models

If a translation is requested but no (exact) match is found,
a different locale may take effect (e.g. en instead of en_UK).

The XLIFF model created will refer to the en XLIFF file, but
claim it's locale is en_UK. This leads to further problems
with translations (like missing labels if no target elements
are present in XLIFF files).

This change fixes that…

Change-Id: I2f2c3d0ba23260299a3bc4397d7d8ad9021a5b36
Fixes: #34170
Releases: 1.1

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9148

#2 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9148

#3 Updated by Gerrit Code Review over 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9148

#4 Updated by Gerrit Code Review over 3 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9148

#5 Updated by Karsten Dambekalns over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF