[TYPO3-core] RFC #8270: Bugfix: Hardcoded labels in title-attributes in backends right upper corner icons
Stefano Kowalke
blueduck at gmx.net
Sun Jul 13 17:31:48 CEST 2008
Michael Stucki wrote:
> Dmitry Dulepov [typo3] wrote:
>
>> Michael Stucki wrote:
>>> Dmitry Dulepov [typo3] wrote:
>>>
>>>> On behalf of translation team: no objection or problem from our side on
>>>> adding new files to stable version. Stable versions will get these
>>>> labels anyway because language packs are the same for all TYPO3
>>>> versions. So fixing these problems in stable branches gives us only
>>>> incentives...
>>>
>>> Are you sure? What if a label has been converted from hardcoded to
>>> localizable form but is not translated yet? It should fall back to the
>>> default language, but is the locallang-cache really updated yet?
>>
>> If there is no translation, the label will be shown in "default"
>> language. This is how it works now. There are some strings in the core,
>> which are not translated. English is shown instead. Translation is
>> overlaid on the default to prevent empty strings in BE.
>>
>> locallang cache is updated if time stamp of source locallang file is
>> newer than for a cache file. This happens, for example, when translation
>> is fetched from TER: new locallang files come, TYPO3 finds that time
>> stamp is newer than for the corresponding cache and removes the cache
>> file. Later code recreates a new cache file. This is a bit simplified
>> description but it is correct in general.
>
> Alright, so this means there is nothing wrong with adding new labels (not
> changing them!) in stable branches.
>
> - michael
Good to figure this out.
I add this info to the wiki [1].
Cheers
Stefano
[1]
http://wiki.typo3.org/index.php/Translations#Making_hardcoded_labels_translateable
--
Seit dem 1.1.2008 werden Daten zu jeder E-Mail verdachtsunabhängig gespeichert!
Weitere Informationen: www.vorratsdatenspeicherung.de
GPG-ID: 0x2B08936D
Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D
More information about the TYPO3-team-core
mailing list