Project

General

Profile

Actions

Feature #64673

closed

Allow overwriting/overloading of translations with XLF-files

Added by Stefan Neufeind almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2015-01-31
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Translations shipped with extensions are defined in XLF-files. But to overwrite (some) translations or provide a new language you currently need to use TypoScript. Maybe it would be interesting to consider loading custom XLF-files for a language. If they contain only a limited number fo strings, only those could be overloaded and other strings be taken from the original XLF.

Actions #1

Updated by Christian Kuhn almost 10 years ago

there is a hook in GeneralUtility for this?!

Actions #2

Updated by Stefan Neufeind almost 10 years ago

Hmm, if you supply your own extension, that would be an option then. I thought about some TypoScript-setting like for example _LOCAL_LANG.de.overlayLanguageFile to load an overlay-XLF (or with numeric keys like we have for Fluid with templateFallbackPaths?).

Actions #3

Updated by Christian Kuhn almost 10 years ago

You can provide overrides in TS already.

So, there are imho enough options:

  • If you just want to override a couple of labels directly, use _LOCAL_LANG in TS
  • If you want to systematically override xlf files, put them to your own .xlf files and register them as override
Actions #4

Updated by Stefan Neufeind almost 10 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF