Jump to content

Custom Language File


Recommended Posts

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 directory




$_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.



Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated