[TYPO3-english] Problems with a multi languages website
Sébastien Le Sergent
contact at sourions.fr
Tue Oct 22 00:49:10 CEST 2013
Hello,
I¹ve got a website which is in many languages. Among those, there¹s english
and french.
I¹ve added this to the template :
1. // Langue par defaut
2.
3. config.sys_language_uid = 0
4.
5. config.language
<http://documentation.typo3.org/documentation/tsref/conditions/language/> =
fr
6.
7. config.locale_all = fr_FR
8.
9. config.htmlTag_langKey = fr
10.
11. config.linkVars = L
12.
13.
14.
15. // Langue FR
16.
17. [globalVar = GP:L = 0]
18.
19. config.sys_language_uid = 0
20.
21. config.language
<http://documentation.typo3.org/documentation/tsref/conditions/language/> =
fr
22.
23. config.locale_all = fr_FR
24.
25. config.htmlTag_langKey = fr
26.
27. [GLOBAL]
28.
29.
30.
31. // Langue EN
32.
33. [globalVar = GP:L = 1]
34.
35. config.sys_language_uid = 1
36.
37. config.language
<http://documentation.typo3.org/documentation/tsref/conditions/language/> =
en
38.
39. config.locale_all = en_EN
40.
41. config.htmlTag_langKey = en
42.
43. [GLOBAL]
But I¹m facing a problem. When I try to choose a language (french is
default), english for exemple , i¹ve got such an URL :
http://mywebsite.com/2/article
How can I have a classical URL and get rid of this 2 and have an « EN »
instead.
Thanks for your help.
More information about the TYPO3-english
mailing list