Jump to:

3447 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » [SOLVED]en_US.php file not being read in 2.4

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 749 Views
  • deLisle
    Community Member
    12 Posts

    [SOLVED]en_US.php file not being read in 2.4 Link to this post


    For some reason is one of my en_US.php files not being read by the system.

    The thing is that i used to have this in the _config file for this "module": require_once( dirname( __FILE__ ) . '/lang/en_US.php' );

    When having that it works. However, having it in 2.4 makes that en_US.php file the "master" file and no other "lang" files are read.

    When i remove the require_once all is well except for this one en_US.php file that is not read.

    Any ideas?


    I had to put the lang folder and file one folder up in the tree to get it to work

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.