I follow the guide on “Localizing Entire Templates” and create two files under /source:
index.en.html.erb
index.zh-TW.html.erb
Middleman build them correctly:
$ middleman build
identical build/index.zh-TW.html
identical build/index.en.html
identical build/index.html
identical build/zh-TW/index.html
But when I run ‘middleman server’ and connect to ‘http://0.0.0.0:4567’, the index.html is not served. Neither does ‘http://0.0.0.0:4567/zh-TW/index.html’
Did I do anything wrong or it is a bug ?
By the way, ‘middleman build’ create two extra files which are not necessary:
identical build/index.zh-TW.html
identical build/index.en.html