Feature #64673
closedAllow overwriting/overloading of translations with XLF-files
0%
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.
Updated by Christian Kuhn almost 10 years ago
there is a hook in GeneralUtility for this?!
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?).
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
Updated by Stefan Neufeind almost 10 years ago
- Status changed from New to Rejected