简体   繁体   English

如何通过plovr对lf大豆模板进行xlf翻译?

[英]How to xlf-translate soy template by plovr?

{msg desc="Says hello and tells user to click a link."}
  Hello {$userName}! Please click <a href="{$url}">here</a>.
{/msg}

what set config file or request params in plovr? 什么在plovr中设置配置文件或请求参数?

You can use this fork of plovr which has support for soy translations via XLF (doesn't come with default plovr). 您可以使用plovr的此fork,它通过XLF支持大豆翻译(默认plovr不附带)。 You'll need Java 7 to build/run it. 您将需要Java 7来构建/运行它。

https://github.com/rgpower/plovr/tree/soy-translation https://github.com/rgpower/plovr/tree/soy-translation

See the most recent commit for plovr cfg syntax related to XLF translations. 请参阅有关XLF转换的plovr cfg语法的最新提交。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM