middleman / middleman-blog

Blog Engine Extension for Middleman
https://middlemanapp.com
MIT License
326 stars 179 forks source link

Placing Tag Template in the Localizable folder #142

Closed iwarner closed 7 years ago

iwarner commented 11 years ago

Getting this issues

/Users/ianwarner/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/middleman-core-3.1.3/lib/middleman-core/sitemap/extensions/proxies.rb:56:in `proxied_to_resource': You can't proxy tag/car-insurance to tag/template.html which is itself a proxy.

I think it is because of the subject reason.

Any help / guidance appreciated.

bhollis commented 11 years ago

Could you provide a repo that reproduces this issue?

rriemann commented 10 years ago

Here is your repo. I put the data into the branch test-i18n. https://github.com/rriemann/middleman-blog/tree/test-i18n

If it is not obvious why someone should put the calendar.erb into the localizable folder: We want to generate not only files like /2012.html, but also /de/2012.html.

davidmles commented 10 years ago

Same problem here, any update on this? I'm using the latest stable version.

allaire commented 10 years ago

Another i18n issue I vote for.. It also happens with custom_collections

iwarner commented 7 years ago

I got around my issues by setting the options for the dynamic pages in the config.rb

Please read https://forum.middlemanapp.com/t/middleman-tagpages-template-not-getting-correct-locale/2605/2

Closing - there is a wider i18n ticket getting done that may fix some of this