readme_multilingual.txt - this file Last Modified: October 7, 2002. Contents: phpYellow Pages Multilingual notes Author: MLL02 (mailto:mll02@netcourrier.com - http://mll02.cjb.net/) ============================================ phpYellow Pages Multilingual 1.074 ============================================ ---------------------- Under construction ! ---------------------- The conversion is not completely over : 1. admin parts not toroughly translated 2. may be some glitches in places 3. metatags not translated 4. countries and categories not translated There may be some bugs in the display of words. Please let me know then (see address above). ---------------------- What's this ? ---------------------- phpYellow Pages Multilingual is an improvement over phpYellow Pages Standard 1.062 (http://www.dreamriver.com/). It contains the following additional functions : - pages displayed in the user's language : * brazilian portuguese, italian, russian, spanish, german, french and english for now (see "You can help" section below) * by default, the language displayed is the one previously chosen by the user. If none, then it searches the user's browser preferences. If none, then it uses the site's default language (as defined in util.php3). - optional logo / picture management - optional "First Name" and "Last Name" fields - control on what is compulsory in add/edit pages - the site admin can have any field displayed or not Please be aware that phpYellow Pages Lite Edition (ex-phpYellow Pages Standard) continues to change and improve at a fast pace (upon last check, the Lite edition was at version 2.45), and may obsolete the present phpYellow Pages Multilingual some day. ---------------------- What's new ? ---------------------- phpYellow Pages Multilingual 1.074 - changed readme_multilingual.txt phpYellow Pages Multilingual 1.073 - added brazilian portuguese translation (creation of lang_português brazilian.php3) - reflected MLL02 site & e-mail change in lang_français.php3, readme_multilingual.txt and admin.php3 - this also fixed the checkversion error in admin.php3 phpYellow Pages Multilingual 1.0721 - changed the check version site (admin.php3) phpYellow Pages Multilingual 1.072 - added italian translation (creation of lang_italiano.php3) - corrected wrong version number in util-dist.php3 - corrected mySQL error created by carriage returns in easysql.php3 phpYellow Pages Multilingual 1.071 - corrected bug in lang_deutsch.php3 (snail mail address was not diplayed). Thanks to Torsten Kunze for having reported the bug - added header and footer in adminresult.php3 - corrected "check version" admin function (in admin.php3): now relies on this site phpYellow Pages Multilingual 1.07 - added spanish translation (creation of lang_russian.php3) - changed headers to support non-western charsets. Now any character set should be usable (files changed : admin.php3, admin-login.php3, adminresult.php3, advertise.php3, dev-mess.php3, easysql.php3, index.php3, login.php3, password.php3, phpinfo.php3, pictures.php3, testdb.php3, yellowgoal.php3, yellowresult.php3) - added charset line in all language files - corrected bug in images.php3 ("access denied" if requested display change) - change in language_select.php3 to pass the username and password if necessary phpYellow Pages Multilingual 1.0691 - corrections in lang_deutsch.php3 (thanks to René Friedrich) phpYellow Pages Multilingual 1.069 - corrected yellowresult.php3 : found $strUrl instead of $strWeb in mails bodies (thanks to René Friedrich for showing the bug) phpYellow Pages Multilingual 1.068 - corrected a bug which prevented record update from admin pages (changed adminresult.php3) - changed monsters_list.php3 to have it also display IMAGESPATH content, on user's choice. To achieve this, monsters_list.php3 renamed to pictures.php3, and a small change in admin.php3 - added login/password authentication to access pictures.php3 (implied changes in pictures.php3 and admin.php3) phpYellow Pages Multilingual 1.067 - changed language_select.php3 to have a simpler new language implementation - changed explanations in languages.php3 accordingly phpYellow Pages Multilingual 1.066 - added spanish translation (creation of lang_español.php3) - removed auto display of the country, according to language selected, in the edit/add forms (makes few sense as often, languages are spoken by many countries) phpYellow Pages Multilingual 1.065 - added german translation (creation of lang_deutsch.php3, inclusion of german Länder in provinces.php3) - use of translated fields names in notification e-mails body (change in yellowresult.php3) phpYellow Pages Multilingual 1.064 - added a link to monsters_list.php3 in admin.php3 phpYellow Pages Multilingual 1.063 - corrected bugs to see next results * yresult.php3 renamed to yfresult.php3 * many files modified (admin.php3, adminresult.php3, categories.php3, countries.php3, lang_english.php3, lang_français.php3, provinces.php3, yadmin-record.php3, yellow.js.php3, yellowadd_form.php3, yellowedit_form.php3, yellowgoal.php3, yellowresult.php3). * no more display of reulting record after add or update * Hope I made no error in correcting the bug :-| - corrected bug which prevented picture remove in admin mode - added first name/last name in e-mail notification - added support for special caracters, if no magic-quotes_runtime, in first & last name - added find like first & last name in admin.php3 - added link to readme_multilingual.txt in admin.php3 - added control on category field - improved layout when searching in admin mode phpYellow Pages Multilingual 1.062 - first official release - software name and version changed to enable comparison with phpYellow Pages "mainstream" versions - changed english.php3, french.php3 and selectlang.php3 respectively into lang_english.php3, lang_français.php3 and language_select.php3 - stripped multinlingual-related stuff from util.php3 to languages.php3 - optional logo / picture management - "monsters" management - see util-dist.php3 comments - provided 44 sample monsters - changed ('d) the way results are displayed (to fit logo/pictures) - changed easysql.php3 to add a field - added control on what must be javascript-checked in the add/edit forms - for this turned yellow.js into yellow.js.php3 - removed yfrecord.php3 for redundancy reasons - slight changes in yellow.css (mainly font-size attributes) - added debug constant in util.php3 - optional "First Name" and "Last Name" fields beta v 0.3 - if no language has been selected yet by the user, the script now tries to fetch the browser preferred language before applying the site preferred language - javascript is now translated - yellow.js changed into yellow.js.php3 beta v 0.21 - changed countries.php3 to have it display France - sorry Belgian, Canadian etc... folks, but that can be easily tweaked - or United States, depending on the language selected, by default. beta v 0.2 - made the language a selectable option through selectlang.php3 and modifications in util.php3, header.php3 and yellow.js - uses cookies - for this, had to move all requires "util.php3" to the very beginning of the files - some more of the admin parts done - correction of some bugs - changed all value='' in all files to value="" to prevent bugs when strings contain ' - some cosmetic modifications in all the files edited (spaces numbers etc...) beta v 0.1 - created navigbar.php3 for redundancy reasons - of course, created english.php3 and french.php3 - lots of text in nearly all php3 files, but the structure remains. - changed all value='' in all files to value="" to prevent bugs when strings contain ' - some cosmetic modifications in all the files edited (spaces numbers etc...) All this applied to phpYellow Pages Standard version 1.062 ---------------------- Known problems ---------------------- * Problem occurs on page reloads caused by the language change form, on some pages (yellowgoal.php3 for instance). This is because the parameters ($goal for exmaple) are not repassed. 2 ways I think about to solve this : 1. catch the parameters on page load, incorporate them in the language change form, and repass them on the reload. 2. make the language form a separate form. In any way, let me know if you know how to code solution 1, or if you've got another idea (see address above). * If the image size (in kb) is above the allowed one, many error messages appear and the new subscription is made anyway (shouldn't, and there should be a clean message). I think the solution is to make a temp file, check its size, and then take action. * An error when applying the modified SQL statement in easysql.php3 ? To be confirmed. ---------------------- To do ---------------------- - make a php page to change admin parameters from a browser - allow the user to sort the listing at his convenience - e-mail the surfer only on the fields allowed by the admin - check the existence of spaces in goal choices ($strAdd, $strDelete, ...) - may occur on certain languages - use rather lang_en, lang_fr, ... rather than lang_english, lang_français to avoid any future special caracters problem See also "Under construction" and "Known problems" above ---------------------- Setup ---------------------- Setup & other instructions in readme.txt unchanged, still apply and still sufficient. ---------------------- You can help ---------------------- - by telling me about any bugs you found : just contact me (see address at the top of this document) - by making and sharing a new language file (it's easy - no PHP or any programming skills needed) : see instructions in languages.php3 or contact me (see address at the top of this document) - by improving or adding any function : just contact me (see address at the top of this document) Thanks ! END OF DOCUMENT