Hey Sebastian, thanks for your reply! So this is what I've done:
I've created an en.yml in mysite/code/:
en:
mytemplate:
test: 'hello'
..And a fr.yml (french) in the same location.
fr:
mytemplate:
test: 'bonjour'
In my template (HomePage.ss):
<%t mytemplate.test 'hello' %>
In each version (en and fr) of the site it displays "hello" and not the french translation "bonjour".
Additional info:
-ss translatable module installed (and working)
-ss translatable prefix module installed
-deleted an empty file in mysite/lang folder that was named "_MANIFEST_exclude" or something..
-do I need to run http://localhost/dev/tasks/i18nTextCollectorTask/?module=cms ? It just says ".... running" and nothing happens, I've been told that I'm missing PHPunit dependancy, is that relevant?
Cheers