New Zenner
- Join Date:
- Apr 2012
- Location:
- Norwich, Norfolk
- Posts:
- 5
- Plugin Contributions:
- 0
What is the correct way to reference language file?
In the new pages I am creating what is the proper way and place to reference the appropriate language file?
At the moment I have
include(DIR_WS_LANGUAGES . '/english/products_all.php');
in the template file (/includes/templates/template_default/templates/tpl_product_credential_default.php)
I'm sure this isn't correct as "english" shouldn't be hardcoded in like this.
Regards,
Chris V