Fuel Navigation > Choose Language

edited August 2017 in Feature Requests
Hi! At CMS, The Navigation module doesn´t have the option to select a language for each menu item. How can i add it ? Thanks!

Comments

  • edited 9:46AM
    Did you add in your fuel/application/config/MY_fuel.php multiple languages to the config similar to below?
    // Languages for pages. The key is saved to the page variables $config['languages'] = array( 'english' => 'English', 'sp' => 'Spanish', 'de' => 'German', );
  • edited 9:46AM
    Yes. How can i load the default language file using fuel instead the native CI lang->load() ?

    I am getting "Unable to load the requested language file: language/english/_lang.php"
  • edited 9:46AM
    Where are you getting that error?

    Also, just confirming that the above was added to the MY_fuel.php file and not the fuel/application/config.php file.
  • edited 9:46AM
    At the entire website, included admin pages.
    Yes, added inside MY_fuel.php

    Thanks!
  • edited 9:46AM
    The error seems to be related with the lang() function. This isn´t working with the selected language. Only if i do a native CI lang->load() starts to work fine.
Sign In or Register to comment.