[TYPO3] One-tree multi-language site - one-language realurl

Sara Weale webmaster at llgc.org.uk
Wed Mar 26 17:47:56 CET 2008


 From my limited experience the months are passed to the php which is 
taken from the language declared in the language setup.

To get the months to display in the correct language for our alternative 
language we had to change the language config from config.locale_all=cy 
to config.locale_all=cy_GB which pulls the correct month translation 
from the php.

Have you tried config.locale_all=de_DE and config.locale_all=tr_TR 
instead of just 'de' and 'tr' ?

I have not had to translate the months manually in the postVar for tt_news.

Sara

Alexander Maringer wrote:
> Hi,
>
> I don't think, any more information ist needed. The rewrite rules are 
> the basic rules of typo3. My language configuration is L=0 for turkish 
> and L=1 for german.
>
> But the problem is in the postVars of Realurl.
>
> For example take a part of the tt_news-extension:
> 'postVarSets' => array(
>    '_DEFAULT' => array(
>      // news archive parameters
>      'archive' => array(
>        array(
>          'GETvar' => 'tx_ttnews[month]' ,
>          'valueMap' => array(
>            'january' => '01',
>            'february' => '02',
>            'march' => '03',
>            'april' => '04',
>            'may' => '05',
>            'june' => '06',
>            'july' => '07',
>            'august' => '08',
>            'september' => '09',
>            'october' => '10',
>            'november' => '11',
>            'december' => '12',
>          )
>        ),
>      ),
>    ),
> ),
>
> So, in every language you have to pronounce the january as january, but 
> I would like to have it as january for english, "Januar" for german, 
> "xxx" for turkish.
>
> And I'm searching a solution for this, which could be also maintained by 
> the clients (the website editors).
>
> Thanks a lot
>
> Alexander
>
> Sara Weale schrieb:
>   
>> Could you post some more information, such as your language 
>> configuration and the apache rewrite rules you used for RealURL?
>>
>> Do you have RealURL manager installed too?
>>
>> Thanks,
>> Sara
>>
>> Alexander Maringer wrote:
>>     
>>> Hi,
>>>
>>> I have an insolvable problem.
>>>
>>> I like speaking urls on websites. I use always realurl.
>>>
>>> At the moment, I have a german - turkish website to complete with 
>>> realurl. So the postVars for the website could be on the one hand 
>>> german or english, but not both at all. And a german URL in turkish 
>>> and a turkish URL in german .... both is a little bit strange.
>>> Is there any solution for this problem?
>>>
>>> Thanks a lot
>>>
>>> Alexander Maringer
>>> _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>>   
>>>       
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>   

-- 
Sara Weale
Rheolwr y We / Web Manager
Llyfrgell Genedlaethol Cymru
National Library of Wales
Aberystwyth
Ceredigion
SY23 3BU

Ffôn/Phone: 01970 632845
Ebost/Email: webmaster at llgc.org.uk
http://www.llgc.org.uk/

Nid yw'r neges yma o reidrwydd yn adlewyrchu barn y Llyfrgell.
This message does not necessarily reflect the opinion of the Library.



More information about the TYPO3-english mailing list