assemble / grunt-assemble-i18n

Assemble middleware for adding i18n support to projects.
24 stars 8 forks source link

Pre-process i18n templates #53

Closed LaurentGoderre closed 9 years ago

LaurentGoderre commented 9 years ago

i18n doesn't work with autogenerated menus because front-matter is process right before the page is rendered, meaning that a partial only has access to i18n parameter of pages that were previously rendered

LaurentGoderre commented 9 years ago

@jonschlinkert @doowb any issue with this?

LaurentGoderre commented 9 years ago

This introduces more problems actually....it probably needs to be fixed in core

jonschlinkert commented 9 years ago

it probably needs to be fixed in core

just so you can consider your options, 0.4.x has limitations that make this kind of thing difficult to accomplish. In v0.6.0 this would be super easy to do. The only way this would get implemented in 0.4.x is if someone besides @doowb or I wanted to implement it and maintain 0.4.x going forward.

LaurentGoderre commented 9 years ago

I guess I would need to create a middleware for it wouldn't I?

LaurentGoderre commented 9 years ago

@jonschlinkert when is v0.6 going to be officially released?

jonschlinkert commented 9 years ago

when is v0.6 going to be officially released?

hard to say. it will speed up if we get help writing docs and fixing bugs.

LaurentGoderre commented 9 years ago

I wish I had the time to switch our project over to v0.6 and help fix those bugs.....

jonschlinkert commented 9 years ago

no worries, we'll get there. it's mostly a documentation thing. sometimes things look like bugs b/c features aren't documented :)