As described in the commit header, to use it in a template you need to indicate the section is a theme by
going:
{str tag=stringtoget section=theme.nameoftheme}
... and this will look for the lang file in: theme/nameoftheme/lang/langtype/nameoftheme.php
We need to make sure that this works with external langpacks and with /local lang overrides. It looks like it works the same way that plugin lang strings do (by adding to a set of search paths that get_string() uses) but we should explicitly test it.
Patch: https:/ /reviews. mahara. org/#/c/ 3628
As described in the commit header, to use it in a template you need to indicate the section is a theme by
going:
{str tag=stringtoget section= theme.nameofthe me}
... and this will look for the lang file in: theme/nameofthe me/lang/ langtype/ nameoftheme. php
We need to make sure that this works with external langpacks and with /local lang overrides. It looks like it works the same way that plugin lang strings do (by adding to a set of search paths that get_string() uses) but we should explicitly test it.