【问题标题】:Typo3 Translation in Inline Viewhelper内联 Viewhelper 中的 Typo3 翻译
【发布时间】:2016-06-02 10:31:31
【问题描述】:

我想为我的 Typo3 模板设置翻译。 但是我想要像这样的内联视图助手中的字符串的{f:translate ...} 的翻译。

{f:if(condition:"{change.newValue}", then : '{change.newValue}', else:
"{f:translate (key:'pdvcalls_form_fields.deleted_close_date')}")}

但这不起作用。 有谁知道我做错了什么?

感谢您的帮助!

【问题讨论】:

    标签: templates typo3 fluid viewhelper


    【解决方案1】:

    函数括号前有一个额外的空格。

    {f:if(condition:"{change.newValue}", then : '{change.newValue}', else:
    "{f:translate(key:'pdvcalls_form_fields.deleted_close_date')}")}
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多