[TYPO3-core] FYI: fixed corrupt xml language file
Ingmar Schlecht
ingmar at typo3.org
Tue Nov 20 11:22:29 CET 2007
Hi Dmitry,
Dmitry Dulepov [typo3] schrieb:
> Ingmar Schlecht wrote:
>> Hi Dmitry,
>>
>> Dmitry Dulepov [typo3] schrieb:
>>> Hi!
>>>
>>> typo3/sysext/lang/locallang_mod_doc.xml was zero length and as a result
>>> broke translation process. I restored this file to its last correct
>>> version. It must stay as is even though there is no old "Doc" module.
>>> This is translation proces requirement.
>>>
>>> *Notices*:
>>> 1. Language files (even obsolete!) may not and must not be removed or it
>>> will break translation process.
>>
>> This sounds like a bug in the translation system then: A candadate for
>> Mario's list of improvements.
>
> Well, translation files are not versioned. Kasper designed it this
> way... So improving will mean redesigning translation system. I am only
> +1 to this because having the same translations for all versions is not
> good: lot of old strings around.
>
>>> 2. Labels may not be removed or significally altered because all TYPO3
>>> versions share the same translations. I.e. you cannot change value of
>>> "my_delete" label from "Delete page" to "Delete content element" because
>>> it will affect translations in all previous TYPO3 versions too!
>>
>> If a label is removed, the translation system should keep the
>> translations of the removed label nevertheless to stay compatible with
>> old versions. (I'll forward this mail to Mario)
>
> It cannot unless label exists in the default language. If there is no
> such label, what will translator translate? :)
>
> I.e. if label exists for 4.1 but removed for 4.2, it will disappear from
> language packs and disappear in all languages in 4.1. Again, severe
> problem in translation system :(
Yep. But I think this can be fixed if the translation system would keep
a list of old labels. That way we wouldn't have to bother with them in
the core any more but they'd still be available, preferably marked
obsolete in the translation system.
cheers
Ingmar
--
Ingmar Schlecht
TYPO3 Association Active Member
More information about the TYPO3-team-core
mailing list