Project

General

Profile

Actions

Bug #46919

closed

Add note to XLIFF files that fixtures shall not be translated

Added by Philipp Gampe almost 11 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2013-04-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

See http://translation.typo3.org/fr/TYPO3.TYPO3.core.core/Tests/Unit/Localization/Parser/Fixtures/

All typo3/sysext/Test/ folder should be excluded. Same is true for any Test folder inside an extension.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #89318: Use attribute translate="no" for non translatable strings ClosedGeorg Ringer2019-10-01

Actions
Actions #1

Updated by Chris topher over 8 years ago

  • Project changed from 1728 to TYPO3 Core
  • Subject changed from Fixtures shall not be translated to Add note to XLIFF files that fixtures shall not be translated
  • TYPO3 Version set to 7
  • Is Regression set to No

These for example are some of the files, and here they are in Pootle

As far as I know, currently no xlf files get excluded anywhere and I would not like to add some magic here.

I propose to add a developer note, e.g. like so:

<trans-unit id="label1">
    <source>This is my 1st label</source>
    <note from="developer">This label is part of a test suite; it is not actually used in the interface of TYPO3 CMS.</note>
</trans-unit>

This note will then be shown in the Pootle interface just like our "deprecation" and "do not translate" notes as well.

Actions #2

Updated by Philipp Gampe over 8 years ago

Looks like a good solution for me. Is it possible to add those notes for a whole file (like a global note) or do we need to add those notes to each line?

Actions #3

Updated by Chris topher over 8 years ago

They have to be added inside the trans-unit tags; notes are always displayed for the label they are at.

Actions #4

Updated by Riccardo De Contardi over 7 years ago

  • Category set to Localization
Actions #5

Updated by Christian Eßl over 4 years ago

  • Related to Task #89318: Use attribute translate="no" for non translatable strings added
Actions #6

Updated by Georg Ringer over 4 years ago

  • Status changed from New to Closed

with upcoming solution using Crowdin those files won't be provided to translators anymore.

Actions

Also available in: Atom PDF