Basically, I am trying to translate a few texts to Chinese from the default language french. The following code states the translation from one language to another language but I am confused with the part of having the text translated to more than one language in PHP. Any help would be appreciated
<?php
$icl = ICL_LANGUAGE_CODE;
$placeholder = $icl == 'fr' ? 'Sélectionner une filiale' : 'Select an affiliate';
$all = $icl == 'fr' ? 'Toutes les filiales' : 'All affiliates';
$filter = $icl == 'fr' ? 'Filtrer les offres' : 'Filter offers';
?>