Change name of statuses "not for sale" and "reserved" for Russian and Ukrainian version of the web-crosstab using Google Tag Manager. To do so, on the editing page, Google Tag Manager ID shall be indicated:
In the GTM, we compose new user HTML tag - "Lexicon".
Tag contents:
<script>
var my_lexicons = {
'ru':{
'notforsale':'Available for sale soon',
'reserved':'Reserved',
},
'uk':{
'notforsale':'Available for sale soon',
'reserved':'Reserved',
}
}
if(typeof lexicon !== 'undefined' && typeof hl !== 'undefined' && typeof my_lexicons[hl] !== 'undefined'){
Object.assign(lexicon, my_lexicons[hl]);
if(typeof chess_init_statuses === 'function') chess_init_statuses();
}
</script>
Trigger - "All Pages".