Ed Linklater

that was meant to say shudders but my hand spasmed. works just as well though 😛

kinglozzer

Anyone know if the upgrader will work on a 3.1.x site? 😛

wmk

I could bet that's not how it's inteded to work

lerni

I go now with <%t BlahClass.STRING "none" %> for all repeated instances

wmk

If you provide default strings, you shouldn't edit your default locale's yml file manually IMHO. Unfortunately the text collector doesn't work on themes in SS4, which is a big issue for me.

lerni

was about to say this ;( but haven't tried in a while

wmk

the silverstripe modules use services like transifex, so templates and code are the source of trouth, translations are managed via service. This might not fit for everyone, for simple "de/en" projects I can do that manually.

lerni

in my view you should be able to use <%t BlahClass.STRING %> and <%t BlahClass.STRING "defaultstring" %>