[phpwebapp-commits] CVS: web_app/doc changes.txt,1.23,1.24 to_do.txt,1.22,1.23
Brought to you by:
dashohoxha
From: Dashamir H. <das...@us...> - 2005-11-01 14:20:09
|
Update of /cvsroot/phpwebapp/web_app/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21271/doc Modified Files: changes.txt to_do.txt Log Message: Index: changes.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/changes.txt,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** changes.txt 1 Nov 2005 13:24:25 -0000 1.23 --- changes.txt 1 Nov 2005 14:19:57 -0000 1.24 *************** *** 55,58 **** --- 55,78 ---- ------------------------------------------------------------------- + + * - The messages of the framework itself (errors, warnings, etc) now + support i18n/l10n (translation). The messages displayed from JS + code (alerts) support multiple languages as well. + + The function TF_("...") is used in the PHP code of the framework + classes to get the translation of a string, like this: $var = + TF_("..."). It can also be used in the JS code and in the templates + (HTML code). + + For the application components and templates the framework finds out + outomatically which translation file to use and where it is located, + depending on the location of the component its id, and some + conventions. However, the translations of the framework messages are + in a separate translation file. So, TF_("...") is used instead of + T_("...") in order to distinguish that this is the translation of a + framework message. + + ------------------------------------------------------------------- + ------------------------------------------------------------------- ------------------------------------------------------------------- ------------------------------------------------------------------- Index: to_do.txt =================================================================== RCS file: /cvsroot/phpwebapp/web_app/doc/to_do.txt,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** to_do.txt 1 Nov 2005 13:24:25 -0000 1.22 --- to_do.txt 1 Nov 2005 14:19:58 -0000 1.23 *************** *** 1,12 **** ! * - Make i18n/l10n for the messages of the framework itself. ! - The messages of the framework (errors, warnings, etc) should ! support multiple languages. ! - The messages displayed from JS code (alerts) should support ! multiple languages. * - Write in DocBookWiki a programmer's guide for phpWebApp. - * - Regenerate the code documentation with doxygen and phpDocumentor. - * - Write more tutorials for phpWebApp. --- 1,6 ---- ! * - Regenerate the code documentation with doxygen and phpDocumentor. * - Write in DocBookWiki a programmer's guide for phpWebApp. * - Write more tutorials for phpWebApp. |