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 #79

Open
simonerama opened this issue Jul 22, 2016 · 2 comments
Open

Multilingual #79

simonerama opened this issue Jul 22, 2016 · 2 comments

Comments

@simonerama
Copy link

Hello,
How can I activate multilingual admin?

I've seen into application/modules/admin/config/ci_bootstrap.php at line 57 the option:
'languages' => array()

Into application/config/ci_bootstrap_example.php the demo content:

    'languages' => array(
        'default'       => 'en',                // to decide which of the "available" languages should be used
        'autoload'      => array('general'),    // language files to autoload
        'available'     => array(               // availabe languages with names to display on site (e.g. on menu)
            'en' => array(                      // abbr. value to be used on URL, or linked with database fields
                'label' => 'English',           // label to be displayed on language switcher
                'value' => 'english'            // to match with CodeIgniter folders inside application/language/
            ),
            'zh' => array(
                'label' => '繁體中文',
                'value' => 'traditional-chinese'
            ),
            'cn' => array(
                'label' => '简体中文',
                'value' => 'simplified-chinese'
            ),
            'es' => array(
                'label' => 'Español',
                'value' => 'spanish'
            )
        )
    ),

There's something else that I've to activate? Into application/core/MY_Controller.php at line 33 the option protected $mMultilingual it's set to FALSE.

Thank you,
Simone

@jasonlau78
Copy link

yes, i would like to know how can it be done.
please help

@Nouman24
Copy link

Any update on this?

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

3 participants