M
M
Mechanic2016-03-06 18:53:44
1C-Bitrix
Mechanic, 2016-03-06 18:53:44

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

1 answer(s)
S
Sergey, 2016-03-06
@bitrixweb

Read this article www.accorsys.ru/catalog/moduli_1c_bitrix_upravleni...
Maybe it will give you an idea.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question