Message of the day:
Release 4.5.0 is out. Changelog: https://docs.silverstripe.org/en/4/changelogs/4.5.0
SilverStripe 4 related information and questions.
@kinglozzer 3.1 to 4? should work
that was meant to say shudders but my hand spasmed. works just as well though 😛
Anyone know if the upgrader will work on a 3.1.x site? 😛
It's intended not to repeat probable
I could bet that's not how it's inteded to work
I go now with
<%t BlahClass.STRING "none" %> for all repeated instances
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.
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.
in my view you should be able to use
<%t BlahClass.STRING %> and
<%t BlahClass.STRING "defaultstring" %>