(PECL enchant:0.1-1.0.1)
enchant_broker_dict_exists — Vérifie si un dictionnaire existe
Vérifie si un dictionnaire existe.
Ressource de sponsor
langage, dans un format comme us_US, ch_DE, etc.
Retourne TRUE si le langage existe, FALSE sinon.
Exemple #1 Exemple avec enchant_broker_dict_exists()
<?php
$tag = 'en_US';
$r = enchant_broker_init();
if (enchant_broker_dict_exists($r,$tag)) {
echo $tag . " dictionary found.\n";
}
?>