Answer the question
In order to leave comments, you need to log in
How to pass current website language to iframe?
Friends, comrades, I will be brief so as not to take up your time.
There is a separate 1.php in which the component is connected. There is a header.php which calls the iframe from 1.php.
The problem is that on the EN version of the site in the iframe it is still RU. How to override language in iframe?
Let's say you can pass the current language from header.php to the iframe with a get request, but how can you override it in 1.php, based on the get request to connect the corresponding language files in the component?
I will be very grateful for answers.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question