[TYPO3] static info tables and local language
Federico Bernardin
typo3 at bernardin.it
Fri Mar 9 12:41:05 CET 2007
OK.
Franz.
But if I want to show the italian short name and not the english short name
in a list in a my extension, can I do it?
This is the text from static_info_tables:
// Unfortunately this do not work because the user will be initialized
afterwards
//$TCA['static_territories']['ctrl']['label'] =
tx_staticinfotables_div::getTCAlabelField('static_territories', false);
//$TCA['static_territories']['ctrl']['default_sortby'] = 'ORDER BY
'.tx_staticinfotables_div::getTCAsortField('static_territories', false);
//
....
Federico
>-----Messaggio originale-----
>Da: typo3-english-bounces at lists.netfielders.de [mailto:typo3-english-
>bounces at lists.netfielders.de] Per conto di Franz Holzinger
>Inviato: venerdì 9 marzo 2007 12.11
>A: typo3-english at lists.netfielders.de
>Oggetto: Re: [TYPO3] static info tables and local language
>
>Hello Federico,
>
>> I've studied the extension static Info table.
>>
>> I'm devolping an extension for Italian language.
>>
>> I've seen in the source code that I can't use the functions for enabling
>the
>> use of the field label in TCA with local language (in my case
>cn_short_it).
>>
>>
>>
>> Is there any method to use :
>> tx_staticinfotables_div::getTCAlabelField('static_territories', false);
>or
>> implement the language in local format.
>>
>>
>>
>> I think that the problem is the $GLOBALS['USER'] variable is not yet
>> defined.
>>
>>
>
>you must install static_info_tables_it for Italian language.
>
>Saluti,
>
>Franz
>
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
--
Io utilizzo la versione gratuita di SPAMfighter per utenti privati. Sino ad
ora
ha rimosso 13596 mail spam.
Gli utenti paganti non hanno questo messaggio nelle loro email .
Prova gratuitamente SPAMfighter qui:http://www.spamfighter.com/lit
More information about the TYPO3-english
mailing list