User Interface Translations

PHP Spell Check > Documentation > Translations

PHPSpellCheck's user interface text is customizable and has already been translated into 52 languages.

  • af - Afrikaans
  • sq - Albanian
  • ar - Arabic
  • be - Belorussian
  • bg - Bulgarian
  • ca - Catalan
  • cn - Chinese
  • tw - Traditional Chinese
  • hr - Croatian
  • cs - Czech
  • da - Danish
  • nl - Dutch
  • en - English
  • simple - English (Simplified)
  • et - Estonian
  • tl - Filipino
  • fi - Finnish
  • fr - French
  • gl - Galician
  • de - German
  • el - Greek
  • iw - Hebrew
  • hi - Hindi
  • hu - Hungarian
  • is - Icelandic
  • id - Indonesian
  • ga - Irish
  • it - Italian
  • ja - Japanese
  • ko - Korean
  • lv - Latvian
  • lt - Lithuanian
  • mk - Macedonian
  • ms - Malay
  • mt - Maltese
  • no - Norwegian
  • fa - Persian
  • pl - Polish
  • pt - Portuguese
  • ro - Romanian
  • ru - Russian
  • sr - Serbian
  • sk - Slovak
  • sl - Slovenian
  • es - Spanish
  • sw - Swahili
  • sv - Swedish
  • th - Thai
  • tr - Turkish
  • uk - Ukrainian
  • vi - Vietnamese
  • cy - Welsh
  • yi - Yiddish

Code

SourceCode:
#PHP Source Code
require "/phpspellcheck/include.php";

$mySpell = new SpellCheckButton();
$mySpell->InstallationPath = "/phpspellcheck/";
$mySpell->Fields = "ALL";
$mySpell->UserInterfaceLanguage = "ar"; // Language Code for Arabic
echo $mySpell->SpellImageButton();


Custom User Interface Translations

In addition - you can edit the user interface text.

  • Copy the file /phpspellcheck/translations/simple.js
  • Rename it to /phpspellcheck/translations/mylanguage.js
  • Edit the file.
  • PHP Code: $mySpell->UserInterfaceLanguage = "mylanguage";