8000 Multilingual · Issue #31 · crisu83/yii-app · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Multilingual #31
Open
Open
@sn4k3

Description

@sn4k3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0