Welcome Guest, Not a member yet? Register   Sign In
Multilanguage database
#11

[eluser]astroanu[/eluser]
[quote author="in4matic" date="1334998553"]I solve this problem, but i have another one:
When i change the language with links its ok, but when i go on another page in the site, it is in default language, not the selected one. I tell you that when i change the language, it appears in uri, and in controllers i have added in every function that if the language is changed (checks the language through URI) create a session that save this language else create a session with the default language. Maybe isn't correct to insert in every function this if....else statement? But, where to insert this condition?
Thnx in advance![/quote]

if you can send me your view file's code i might be able to help you./. :/
#12

[eluser]astroanu[/eluser]
i think the problem comes from the links

use base_url() to create site relative paths




Theme © iAndrew 2016 - Forum software by © MyBB