Administrator Guide
Manage Translations
This page will guide you through the management of Easy!Appointments translations.
Introduction
Easy!Appointments supports the addition of custom translations in order to display the user interface into many languages and therefore be more user-friendly. This page will guide you through the addition of a new translation and the configuration of the application. You can also modify the available translations or even set the default one for the application.
Details
Easy!Appointments is based upon CodeIgniter (PHP Framework) and it uses its built-in libraries in order to translate the content into many languages. The application ships with 42 languages already included (Albanian, Arabic, Bosnian, Bulgarian, Catalan, Chinese, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Italian, Japanese, Latvian, Lithuanian, Luxembourgish, Marathi, Norwegian, Persian, Polish, Portuguese, Brazilian Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Traditional Chinese, Turkish, Ukrainian and Uzbek), but there is also the ability to add your own translation and change the user interface strings and captions. To add a new translation, you must do the following:
- CREATE A TRANSLATION FOLDER INSIDE “/APPLICATION/LANGUAGE/” DIRECTORY. If you want for example to translate the application into a new language then you will need to create a new folder named after it (e.g. “klingon”) inside the
/application/language/directory and copy all the contents of the “english” folder into it. That includes “migration_lang.php”, which CodeIgniter requires when the version migration algorithm is executed. - TRANSLATE EACH STRING WITHIN YOUR “TRANSLATIONS_LANG.PHP” FILE INTO YOUR LANGUAGE. You will just have to replace the English strings with your translation. Example >>
$lang['page_title'] = 'Write your translation here!'; - TELL EASY!APPOINTMENTS THAT YOU HAVE ADDED A NEW TRANSLATION. When you are finished with the translation you will need to make some changes into the core config file of Easy!Appointments located at “/application/config/config.php” in order to tell the application that there is a new translation available. Find the
available_languagesarray and add your folder name to it, e.g.'klingon',. Also add it to the$languagesarray in the same file with its language code (e.g.'tlh' => 'klingon',), so that browser language detection works for it. Then change the default language, though this is optional, by settingconst LANGUAGE = 'klingon';in the rootconfig.phpfile.
Follow these steps in order to add or adjust your translations and modify the message of the user interface of Easy!Appointments. If you want contribute to the translation process of Easy!Appointments please read the Get Involved page for more information. Please share your translations with the user community.
Last updated