Language and Localization

edited December 2015 in Feature Requests
Hi! Currently the CMS is getting the model_lang file from the modules/language folder. How can i change this default location to get other customized file ? Plus, the lang() function is always echoeing the contents of the english folder. However, if i do a echo of the selected language ( changing it many times), the change is being made correctly. Any help ? Thanks in advance!

Comments

  • edited 6:00AM
    You may need to change the language value in the fuel/application/config/config.php. You can do that at run time with:
    $this->config->set_item('language', 'my_language');
  • edited 6:00AM
    Thanks! This was solved initializing a new language file trought the global.php variables file, getting the language from the fuel->language->selected() . And the language default settings were made in My_fuel.php ( segment, default lang )
Sign In or Register to comment.