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
Would you accept a PR to add an option to skip_locale: true?
My site has 16 locales currently. In most cases I do want the default behavior of this gem — I don't want to forget to cache locale somewhere.
But I have also some nested fragments that are never translated: place names, scientific names (biology). It would be nice to be able to pass an option to cache to skip the 16 locales.
Would you accept a PR to add an option to
skip_locale: true
?My site has 16 locales currently. In most cases I do want the default behavior of this gem — I don't want to forget to cache locale somewhere.
But I have also some nested fragments that are never translated: place names, scientific names (biology). It would be nice to be able to pass an option to cache to skip the 16 locales.
I think this will help people minimize on cache space, as this would produce only one cache fragment in these cases.
The text was updated successfully, but these errors were encountered: