[TYPO3-core] FYI: fixed corrupt xml language file

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Nov 20 11:16:34 CET 2007


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 :(

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-team-core mailing list