Forum: Ruby on Rails How to add lang_code to fragment-cache pattern?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B75f9bc2b05e37ab421f17d7845645c5?d=identicon&s=25 David Scheffel (david-x)
on 2007-04-13 11:56
Hi there!

I'm looking for a way to achieve a language-depending fragment cache.
Since GLoc itself does not provide a solution for this, I'm looking for
a way to change the pattern that is used for storing the fragments.

Is there an option or would I need to override fragment_cache_key for

This topic is locked and can not be replied to.