Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilingual #31

Open
sn4k3 opened this issue Dec 7, 2013 · 0 comments
Open

Multilingual #31

sn4k3 opened this issue Dec 7, 2013 · 0 comments

Comments

@sn4k3
Copy link

sn4k3 commented Dec 7, 2013

Hello,

First of all Great work on this app!

It seens ML (Multi Language) is not working, setLanguage function is not callable by app (I have uncommented ML code on main.php) and after dump Yii::app()->language, it never changes.

on my tests i put dies on init and setlanguage and app never dies, after i tried write to a file on hdd, and file is never created...

NOTE: i have create this function to force change language:

// This will prove the session is working
public function setLanguageEx($lang)
{
if(isset($this->languages[$lang]))
$language = $lang;
else
$language = $this->defaultLanguage;

    $this->owner->language = $language;
    $this->owner->user->setState('__locale', $language);
}

it changes correctly on session, and dump session shows correct values, but still happning the same, no language change on app init.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant