From: Isabelle V. <ver...@fr...> - 2011-02-27 18:02:21
|
Hello Mark, I have a little experience with translations with an other CMS: Joomla. There is the class "JText" defined in libraries/joomla/methods.php. There are the following functions in this class: * The function "_" is used for translation of strings without variable; example: JText ::_('search') with 'search' defined in the "French" file "language\fr-FR\fr-FR.com_search.ini" as follows: SEARCH=Recherche * The function "sprintf" is used for translation of strings containing variables; example: JText::sprintf('EMAIL_INVALID', $email) with 'EMAIL_INVALID' defined in the "English" file "language/en-GB/en-GB.com_mailto.ini" as follows: EMAIL_INVALID=The address '%s' does not appear to be a valid e-mail address On Timesheet NG forums , I saw that other people are also interested in Timesheet NG translation ( German , Spanish ) . For version 2.0, if the development team chose to add the ability to easily translate Timesheet NG for non - English speakers , I can help you for the translation into French . Écouter Lire phonétiquement Dictionnaire - Afficher le dictionnaire 1. nom 1. si 2. B 2. adverbe 1. so 2. that 3. such 4. as 3. conjonction 1. if 2. whether Isabelle. |