You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
I want to set up (through middleware) the lang and dir attributes for tags in template.html, and Sapper doesn't give me a chance to do so.
Describe the solution you'd like
I already implemented a solution on a PR I'm about to submit.
Basically, what it does is, look for the property replacers in the response object (affectionately known as res) and replace text on the template for every key on that property.
So, if any middleware has put anything on that property, you're good to go.
How important is this feature to you?
I need this to implement better internationalization. And internationalization is VERY important to me.
rodoch, arve0, koenkivits, AnandChowdhary and rvantonisse