How to add lang_code to fragment-cache pattern?

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
instance?

Gruß
//David