Need help to replace TRUE and FALSE with other words.

You would need something similar to this one…

$w.onReady(async function() { 	
	$w('#REPEATER').onItemReady(($item, itemData, index)=>{
		let inStock = itemData.inStock;
		 $w('#TEXTFIELD').text = inStock ;

		if (inStock===true) {console.log("Yes, item is still in stock!); 
			if(lang = "EN") {console.log("English"); let myNewValue="xxxxx";}
			else {console.log("Other language!");}
			
		}
		else {console.log("Item not in stock anymore!); 
			let myNewValue="yyyyy"
		}
	});
});