[Typo3] TemplaVoila and Localization

Valery Romanchev it at webmed.ru
Wed Jul 6 21:43:16 CEST 2005


Hello Herve 
  
> 
> Using TemplaVoila 0.4.0 (Typo3 3.8.0), I'm trying to localize 
> a website.
> I have only a 'cosmetic' problem: 
> 
> Under the Page module / Localization tab is a "Switch to 
> language" selector box. And beside this combobox, a list of 
> flags corresponding to my website languages. But the default 
> flag is not displayed (red cross). The others are ok.
> 
> Is there a way to define the flag for my default language ?

In 3.7.0 with 0.4.0  this can be made by patch
/typo3conf/ext/templavoila/mod1/class.tx_templavoila_mod1_sidebar.php
Line 278
				$optionsArr [] = '<option style="'.$style.'"
value="'.$language['uid'].'"'.($pObj->MOD_SETTINGS['language'] ==
$language['uid'] ? ' selected="selected"' :
'').'>'.htmlspecialchars($language['title']).'</option>';
//patch 2005_05_10
if ($language['uid']==0)
$language['flagIcon']="../../../../typo3/../t3lib/gfx/flags/de.gif";  
				$availableTranslationsFlags .= '<img
src="'.$language['flagIcon'].'"
title="'.htmlspecialchars($language['title']).'" alt="" /> ';

(path for German flag)

I have the other problem:
I can not see 2nd language content elements after upgrade to 3.8.0
It look like MAJOR bug of TYPO3 3.8.0 (I fing it in bugtracker)

So I must downgrade to 3.7.0 :-(


---
Best regards,
Valery Romanchev
freelance TYPO3 web-developer
Email: romanchev at list.ru
Phone: +7 (095) 370-84-08 
Moscow, Russia




More information about the TYPO3-english mailing list