// Ваш API-ключ от Yandex Translate
const apiKey = 'b1grg2c2cdal2jhtl04i';
const targetLanguage = 'en'; // Язык, на который нужно перевести (английский)
// Функция для перевода текста с помощью Yandex Translate API
async function translateText(text) {
const url = `https://translate.api.cloud.yandex.net/translate/v2/translate`;
const folderId = 'ВАШ_FOLDER_ID'; // ID каталога в Yandex Cloud (если требуется)
const response = await fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Api-Key ${apiKey}`,
},
body: JSON.stringify({
folderId: folderId, // Укажите folderId, если требуется
texts: [text],
targetLanguageCode: targetLanguage,
}),
});
const data = await response.json();
return data.translations[0].text; // Возвращаем переведенный текст
}
// Функция для перевода всех текстовых элементов на странице
async function translatePage() {
const elements = document.querySelectorAll('p, h1, h2, h3, h4, h5, h6, span, a, li'); // Выберите нужные элементы
for (const element of elements) {
const text = element.innerText;
if (text.trim() !== '') {
try {
const translatedText = await translateText(text);
element.innerText = translatedText;
} catch (error) {
console.error('Ошибка перевода:', error);
}
}
}
}
// Запуск перевода при загрузке страницы
document.addEventListener('DOMContentLoaded', translatePage);
Relaxation pools in the Polyany ecopark
For your unforgettable holiday
Outdoor thermal pool 300 m2
Water temperature 31º- 33ºC
Depth 135 cm
Children's pool (up to 7 years)
Water temperature 30º- 32ºC
Depth 40 cm
Children's pool (from 7 years)
Water temperature 29º- 30ºC
Depth 70 cm
A warm outdoor pool among pine and birch forests is your ideal relaxation in hot summer, golden autumn, snow-white winter or blossoming spring.
A swimming pool for the youngest guests of the complex with a small slide. The depth of the children's pool is 40 cm, so that your little ones feel confident and safe
A specially equipped place for swimming lessons, games and entertainment for children from 7 years old. The children's pool is a place where children can learn to swim, play and have fun in the water.
Water treatment technology
Water passing through coarse mesh filters, water filtration on sand bulk filters
Maintaining the required temperature regime of the pool water by means of tubular water-to-water heat exchangers
A combined method of disinfecting water with a prolonged-action disinfectant - chlorination, and the main disinfection from microorganisms is carried out through a water treatment circuit with ultraviolet light
Continuous automated monitoring and maintenance of water quality within the norms for the following indicators: active chlorine and pH
In the volumes stipulated by the requirements of SanPiN (a water meter on the make-up pipeline is used to control the make-up volume)