Multi Language Header

İ create page 3 language english russian and france
i created 3 stripwith button and them on header. After i used that code. When i click russian. then another 2 strip hide themself. but its not usefull. Alot of times some menus cant cannot be displayed because of slow internet or something .i need refresh page for this .There is alother solution for this.? i want to try another method for multilanguage change each other

import wixLocation from ‘wix-location’;
if (wixLocation.url === “relevant page url”) {
$w(‘#strip’).show();
}
else {
$w(‘#strip’).hide();
}