i18n problem: FILENAME.LANG.html.erb does not work

I am trying to convert an existing site to use middleman 3.1.5. The old site comes in multiple languages. So I am trying to use the middleman i18n feature for that…

As per the very last paragraph on http://middlemanapp.com/advanced/localization/ I wanted to create two different localized versions of a file by following the FILENAME.LANG.html.erb pattern… The example is only with “index”, but I was hoping it would also work for other names… so I added two files
about.en.html.erb
about.de.html.erb

However, there seem to be two problems with that:

  1. It actually creates four output files: Two I want, two i don’t want:

    create build/about.de/index.html
    create build/about.en/index.html
    create build/de/about.html
    create build/about.html

  2. It seems to ignore the :directory_indexes setting.

Any idea on what I might be doing wrong or how to resolve either problem?

I am having the same problem, it generates

  • build/about.html
  • build/de/about.html

as expected but also generates

  • build/about.en.html
  • build/about.de.html

which it shouldn’t. Did you make any progress with this?

No, I didn’t make any progress with this.