Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to place language at beginning of url? 
 
bendar
Jr. Member
 
Total Posts:  4
Joined:  2008-04-10
 

Hi,
does anybody knows a solution to place the language locale at the beginning of the url?

like
/en/category/product
/fr/category/product

It would be a much better way of posting the current locale, but I know use store views, so the param for the language isn’t really a language flag.

Thanks for your help and this great piece of code wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
mayerwin
Sr. Member
 
Avatar
Total Posts:  182
Joined:  2008-01-15
France
 

Well, I am also interested in this. A way that should work would be to create several folders in you FTP, one for each language, and inside each you put the PHP index file related to the website or store. I have not tried it yet, however.
Do you have any feedback regarding my other post : http://www.magentocommerce.com/boards/viewthread/5686/

Thank you

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top