-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set fallbacks per request? #405
Comments
This is basically like #391 right? |
Not exactly the same. My issue is about setting fallbacks dynamically and globally. Just like Mobility.with_locale works |
I think it is related to I18n.fallbacks. Because there is not much sense without dynamic fallbacks there. |
Hi @molfar - I have done this in my own fork.
I'll try create a PR over the weekend. |
I am also interested in having fallbacks only in a specific block, e.g.:
|
Just want to give a shout out to the plugin infrastructure of mobility. Once you grasp it, you can easily write your own fallback plugin to do exactly what you want. You can see my comment #328 (comment) for two examples I am using. Maybe you can use it as a starting point for your own fallback plugin? |
I made some comments about how plugins can be used in #328 (comment) #538 is an attempt to make it a bit easier to create plugins without needing module builders ( |
I have a multi-country web app, and need to set different fallbacks schemas per each country. Is it possible to set dynamic fallbacks per request, just like Mobility.with_locale ?
The text was updated successfully, but these errors were encountered: