我正在使用SilverStripe 3.7.1和PHP 7.2。要在模板中翻译字符串,我使用语法
<%t Namespace.Entity "String_to_translate" %>
当“ String_to_translate”的长度超过2045个符号时,我会收到错误消息:
[26-Jul-2018 10:18:33] Error at framework/view/SSTemplateParser.php line 4028: Uncaught SSTemplateParseException: Parse error in template on line 163. Error was: Malformed opening block tag t. Perhaps you have tried to use operators?
我可以更改要翻译的字符串的最大长度吗?