Welcome Guest, Not a member yet? Register   Sign In
Two languages
#1

[eluser]mDonchev[/eluser]
Hello All,

I have a two language website (teetime.bg) which has English and Bulgarian languages.
The default one is Bulgarian.

I'm storing the chosen language in a session variable and by that I'm displaying one content or another.

I would like to be able to put that language variable ("en" or "bg") in the URL somehow, so that when you get a link and send it to a friend the current language version to be displayed instead of the default one.

Can you tell me a smarter way to do that, instead of manually put it in each link in the website?

Thanks for your help in advance,

Martin
#2

[eluser]pistolPete[/eluser]
Did you have a look at the wiki?
http://codeigniter.com/wiki/Category:Int...alization/




Theme © iAndrew 2016 - Forum software by © MyBB