[TYPO3-4-3] Get rid of dependency of static_info_tables

Steffen Ritter info at rs-websystems.de
Mon Feb 15 08:02:35 CET 2010


Steffen Kamper schrieb:
> 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

+1 for using iso codes in TYPO3 languages at all :) get rid of 
"typo3-own" language codes. we easily could "map" old-to-iso by an 
update-wizard of install tool

regards


More information about the TYPO3-project-4-3 mailing list