Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top