Google Translate API outputs HTML entities
问题 ENGLISH: Sale ID prefix is a required field FRENCH: Vente préfixe d'ID est un champ obligatoire Is there a way to have google translate NOT output the html entity and instead output the actual character (') CODE: (SEE translateTo ) #!/usr/bin/php <?php $languages = array('english' => 'en', 'spanish' => 'es', 'indonesia' => 'id', 'french' => 'fr', 'italian' => 'it', 'dutch' => 'nl', 'portugues' => 'pt', 'arabic' => 'ar'); fwrite(STDOUT, "Please enter file: "); $file = trim(fgets(STDIN)); //Run