PHP Classes

File: TRANSLATIONS.txt

Recommend this page to a friend!
  Classes of Pierre FAUQUE   QCM Class   TRANSLATIONS.txt   Download  
File: TRANSLATIONS.txt
Role: Documentation
Content type: text/plain
Description: Doc for translations
Class: QCM Class
Load, display and correct online questionnaires
Author: By
Last change: Precisions about texts considered as reference
Date: 15 years ago
Size: 1,140 bytes
 

Contents

Class file image Download
TRANSLATIONS ============ To use this class in another language, open "texts.language.php" and translate all strings in your own language. When you have translated them off, save this new file into "texts.<your country>.php" (Use your country domain instead of "<your country>".) Example ------- Spain : texts.es.php Netherlands : texts.nl.php Italy : texts.it.php etc... Put this language file with the qcm file in the same directory and set the "language" key in your QCM file with your country (ie: language=it) If the key/value "language" is missing or commented in the header, french texts will be used. Same thing if a language have been defined and the language file is missing in the directory. The texts considered as reference are the texts in the class itself or the texts in the file "texts.language.php" (french and english) because I depend on the translation into unknown language for me. Thank you to send me (pierre@fauque.net) your translation. I will put it on the website available for download to everyone. You will be kind to send me the URL where the QCM Class is in use.