Dynamic Cache On Nginx Problem With Language Detection

Hi guys,

I have nginx and I have enabled static and dynamic cache.

I have added all the exclusions needs (checkout... cookies...) and it works fine except the auto detect Language.

The problem is that if someone go first at page with English language for example in a page, then if the next customer have Italian in his browser as language it will display the English instead (of course all available languages are installed and works fine when dynamic cache is disabled).

I have seen in cs cart docs this:

https://docs.cs-cart.com/latest/user_guide/addons/full_page_cache/technical_info.html

and it mentions:

Automatic language detection doesn’t work. It’s because browsers pass the client’s preferred languages in the Accept-Language header, and it can have many possible variants. Taking this header into account would result in explosive growth of the cache and reduction of its effectiveness.

So.. is there anyway to have a solution with this without need to turn all dynamic caching off?