sparky Posted September 2, 2008 Share Posted September 2, 2008 Open your langage file eg.. English.txt at the very bottom add this line include 'templates/' . $CONFIG['Template'] . '/CustomLang.php';Now create a file and name it CustomLang.php and put it in your theme directoryeg.. <?php$_LANG["globalsystemname"] = "CUSTOM Support"; $_LANG["globalyouarehere"] = "You are NOT here"; ?> If you want to change a default variable just copy it from the default lang file to your new custom one.You can also create your own GLOBAL Variables. Now when you upgrade to the next version your changes won't be lost. Enjoy!! 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted September 2, 2008 Share Posted September 2, 2008 Thanks for the nice patch, Steve, although I note that for at least the last few upgrades, Matt has been appending his Lang file changes, rather than modding them in the body. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted September 2, 2008 Author Share Posted September 2, 2008 although I note that for at least the last few upgrades, Matt has been appending his Lang file changes, rather than modding them in the body. Sorry I forgot to mention that on an upgrade you will have to add the include line to the new upgraded language file. One Line is better than changing the whole lot. @Zorro67 - No Problem. I am still working on our project by the way. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.