[TYPO3-core] New feature in l10nmgr - what you think?

Michael Stucki michael at typo3.org
Sun Sep 23 00:10:56 CEST 2007


Just FYI, Kasper just showed this change to Ingmar and me, and approved
it "the easy way"...

Please find the changeset attached.

- michael

Kasper Skårhøj wrote:

>>> A technically very tricky part was to integrate a solid diff-view
>>> for flexforms. But I managed that by allowing memory of the
>>> default value at the time of translation inside the FlexForm XML.
>>> (I'm unsure if the core team likes the way I do that yet...). The
>>> result is that we can now also track what changes in a flexform:
>>
>> Could you provide an example of flexform, please? Does it work only
>> for standard types or for plugins with flexforms too?
> 
> 
> Here it comes.
> (To the rest of the core list; I'm proposing a small extension of the
> FlexForm XML definition to allow storage of the vDEF value at the
> time any vXX value was changed - for comparison/diffs in translation
> tools)
> 
> 
> This is how the XML is extended:
> 
> 
>     1: <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
>     2: <T3FlexForms>
>     3:     <data>
>     4:         <sheet index="sDEF">
>     5:             <language index="lDEF">
>     6:                 <field index="field_header">
>     7:                     <value index="vDEF">Testing of listing of
> stuff</value>
>     8:                     <value index="vDA">Tester listing af ting</
> value>
>     9:                     <value index="vDA.vDEFbase">Testing of
> listing of stuff and other things</value>
>    10:                     <value index="vRU"></value>
>    11:                     <value index="vRU.vDEFbase">Testing of
> listing of stuff and other things</value>
>    12:                 </field>
> ....
> 
> 
> It works for ANY flexform field of course. But it has to be enabled
> globally with a TYPO3_CONF_VARS switch.
> 
> 
> - kasper
> 
> 
> 
> 
> 
> 
>>
>> --
>> Dmitry Dulepov
>> TYPO3 freelancer / TYPO3 core team member
>> Web: http://typo3bloke.net/
>> Skype: callto:liels_bugs
>>
> 
> - kasper
> 
> -----------------------------------------------------
> How many women does it take to get a baby in 1 month?
> 
> Kasper Skårhøj
> Tryggevældevej 8
> 2720 Vanløse
> +45 20 999 115
> skype : kasperskaarhoej

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_2515.diff
Type: text/x-diff
Size: 20951 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070923/023079c5/attachment-0001.diff 


More information about the TYPO3-team-core mailing list