[TYPO3-4-3] Get rid of dependency of static_info_tables
Steffen Kamper
ks at dislabs.de
Sun Feb 14 23:50:54 CET 2010
Hi,
there is a hardcoded dependency to static_info_tables in core. As soon
flexforms are used, they use the ISO_3166-1 alpha2 code as language-key
sDEF - default
s[ISO-code] - translation
Now, as this is the only information core needs from static_info_tables,
we can integrate a flat list with these codes, this would make things
much easier.
I prepared a first patch doing this:
http://bugs.typo3.org/view.php?id=13539
Note: the filed is changed to varchar, as now the ISO code is saved in
the field (not the uid of the static_language record)
This is different to usage with static_info_tables.
As static_info_tables overwrites the TCA of the field, both are not
compatible. So i left the check for isloaded in core, but fill ISO also
without loaded extension.
Problems will be for now the switch having existing language records.
This has to be solved, but first i want to hear your opinion.
vg Steffen
More information about the TYPO3-project-4-3
mailing list