[TYPO3-core] New feature in l10nmgr - what you think?
Kasper Skårhøj
kasper2007 at typo3.com
Tue Sep 4 21:45:34 CEST 2007
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070904/c9b73eb8/attachment-0001.htm
More information about the TYPO3-team-core
mailing list