Hi,
I have been struggling some time trying to translate some of the templates of my site. This example below is done on a fresh install of SS 2.2.1.
This is what I tried and what happens...
1) add the i18n::enable(); to my _config.php file in mysite folder.
2) run the /db/build
3) open my Page.ss file in my Theme directory and add <% _t('LOGOTEXT', 'my logo') %> to the template
4) run the /i18n/textcollector and it says it created three files (cms, saphire, auth_openid). Shouldn't it create one for mysite too?
5) I try to go to my site, I get FATAL ERROR: Locale file /lang/en_US.php should exist
At line 1251 in C:\xampp\htdocs\ss2\sapphire\core\i18n.php
I tried to create a new en_US.php file and place it in a lang folder. But where should it be placed? I thought I should place it in the mysite folder, but that doesn't work.
Anyone that can see that I have done wrong?
many thanks!