WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • how to load language file into snippet?
  • Print
Pages: [1]   Go Down

Author Topic: how to load language file into snippet?  (Read 4096 times)

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
how to load language file into snippet?
« on: June 14, 2010, 10:38:10 AM »
How can I load language file into snippet ?

Code: [Select]
if (LANGUAGE_LOADED) {
    include(WB_PATH.'/modules/.../languages/EN.php');
    if (file_exists(WB_PATH.'/modules/.../languages/'.LANGUAGE.'.php')) {
        include(WB_PATH.'/modules/.../languages/'.LANGUAGE.'.php');
    }
}

is not working...Also I couldnt find any example in amas... any ideas ?
Logged
Web developer

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • how to load language file into snippet?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2