Iâ€™m trying to use locale translations for the first time, but I seem to be missing a few things.
This is what iâ€™m doing:
â€¢ I add this to cms/_config.php
â€¢ I add a folder called lang in mysite. Inside this folder I add a file called nl_NL.php
â€¢ In this file I add:
<?php global $lang; $lang['nl_NL']['Page']['TEST'] = 'Test'; ?>
â€¢ In the template (Page.ss) I add
<% _t('TEST') %>