[TYPO3-english] CoolURI Value 1 error

Miguel xadi10 at hotmail.com
Mon Sep 23 16:08:04 CEST 2013


Greetings everyone!

In the website i'm developing, i have defined 4 languages, English, Portuguese, French and German. I have defined English as default language (id=0), and the other ones in the order i refered, Portuguese (id=1), French (id=2) and German (id=3). 

In the frontend i'm using sr_language_menu to display some flags so the user can change the language. I also have installed CoolURI to deal with the default URL's, and everything works fine for all the languages except for Portuguese. It's the only language where it displays the wrong value key that i have defined in the XML configuration file. 

Here's an example: English(default) mywebsite.com/contact
                                    Portuguese (id=1) mywebsite.com/en/contact
                                    French (id=2) mywebsite.com/fr/contact
                                    German (id=3) mywebsite.com/de/contact

As you can see, in the Portuguese URL it shows "en/contact", but it should show "pt/contact"....The page contents that are shown are the correct ones, it shows the portuguese contents, the only mistake that it's happening is the wrong value in the URL. 

Here are some prints from the TS and XML code:
TS: http://img11.imageshack.us/img11/9503/u9ro.png
XML: http://img19.imageshack.us/img19/5451/9yeu.png

Can someone please tell me what's wrong? 


More information about the TYPO3-english mailing list