WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Droplets & Snippets => Topic started by: crnogorac081 on June 14, 2010, 10:38:10 AM

Title: how to load language file into snippet?
Post by: crnogorac081 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 ?