문제

I am building a web site using

  • middleman 3
  • prototype template extension
  • en (English language) as default root language

According to this documentation

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

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

should generate

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

but bundle exec middleman build generates

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

I have tried moving both templates to root folder and not working.

도움이 되었습니까?

해결책

According to @rriemann link, the Localizing whole templates does not work bug was reported on Sept 21, 2013 and fixed on Nov 1, 2013.

The issue was closed on Dec 1, 2013.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top