From: Daintree F. <p.d...@xt...> - 2003-07-30 05:57:55
|
Hi Alvaro, I am sure that a Spanish version would go down really well! Sherif Omar has expressed a willingness to make the system multi language capable, I am only concerned that the readability of the system will be compromised by changing all the text in echo statements and print statements to less understandable (to developers in any language) variable names. This may be a necessary compromise to make the system available to users in any language. Once Sherif, who I think works for an Egyptian software company has donated his work back to the community, this will allow a seperate include file to contain all the translated text, modifications to the underlying scripts will then not require additional translation as they will refer to the variables in the include file. Translating the system script by script would effectively make a seperate system where improvements in one language's version would not be readily transferable to another language without a re-write of the whole script in the other languages. One thought that could retain script readabliity, is to make a file that maps the strings in English as they are to the language to be changed to, creation of the language version could then be automatically created by running the files through a string substitution script that takes the file name as an argument and the name of the string substitution file ie the file that maps the english string to the language string. The output would be a language version of the script. This would make the scripts much more readable to developers (in the language of chocie) looking at the resulting scripts. Using this approach new language versions could be produced automatically provided the text of the english version strings is not changed ;-) or the language string maps all changed at the same time. It would also allow conversion back from the language version to the english version. I could write the string substiution script but would need serious help with the englsih string extraction from every script and the translated strings :-( Users of the same system could work in different languages by pointing the language versions at the same database from the config.php file - and the web server URL for the alternate languages being different. Comments always appreciated - Sherif ? Serial number tracking would be good but I have not given this much thought yet. Phil ----- Original Message ----- From: "Alvaro Ventura" <int...@us...> To: <dai...@us...> Sent: Wednesday, July 30, 2003 5:14 AM Subject: Congratulations > Hello! > My name is Alvaro Ventura (from Mexico) > last week I downloaded the web-erp. > Have some troubles but finally is run now. > Do you like put your web-erp in spanish? > I could be help you. > I think its a good idea for spanish users, here in Mexico, PHP > is in progress and I Think is a good moment to begin with this > great proyect. > > Do you Think, integrate a serial number tracking? > Could be a full solution in the web-erp proyect. > > best regards. > > PD Congratualtions ! web-erp looks a serious ERP > |