中间人本地化整个模板不起作用

时间:2013-09-27 12:10:27

标签: localization middleman

我正在使用

建立一个网站
  • middleman 3
  • 原型模板扩展
  • en(英语)作为默认根语言

根据此文件

http://middlemanapp.com/advanced/localization/#toc_6

source/localizable/services.en.html.haml
source/localizable/services.es.html.haml

应生成

build/services.html
build/es/services.html

bundle exec middleman build会生成

build/services.en.html
build/services.es.html
build/es/services.en.html
build/es/services.es.html

我已尝试将两个模板移动到根文件夹而无法正常工作。

1 个答案:

答案 0 :(得分:0)

根据@rriemann链接,2013年9月21日及Localizing whole templates does not work bug于2013年11月1日报告了fixed

该问题已于2013年12月1日结束。