Community Add-Ons

Add file to this package
Top » Features

Edit Languages
for osCommerce Online Merchant v2.2

This is edit_textdata.php and supporting files.

This works in MS1 and MS2.

This will allow you or your client who has an OSCommerce store to modify the
various language files without having to know PHP. In the present way
you do it, you use the Define Languages under Tools, which is fine, but you
have to know too much PHP to be comfortable with it. My client wants to be
able to modify that text without having to bother me.

I had found another program in the contributions that is similar to this
but it was not robust enough to handle the parsing and reassembly of the
files after an edit.

The heart of this module is a robust parser. I wish I had a YACC for
PHP, maybe someone knows of one. Short of YACC and some BNF parser this
will do well.

The parser can handle structures like:

define ('TITLE_TEXT', 'Howdy, not dont be a stranger');

as well as

define ('DATE_FORMAT_A', DATE_FORMAT . 'more stuff');

It ignores whitespace and other things.

This includes a set of help html files an picture tutorials to show
you how to operate it.

The only thing that I forgot to mention in the Help is that the user
must escape apostrophes such as don't, and of course linefeeds n.

To use it gunzip and untar in the admin directory. Then modify the
Tools box to add this to the end of it.

The main entry point is edit_textdata.php.

Please Feel free to incorporate this into OSCommerce, I give free license
to do so.

Julian Brown
julian@jlbprof.com

Legend:  Download   Report
Expand All / Collapse All
Japanse translation file ds-style 15 Feb 2006  

This is a Japanese translation.

edit_languages_fixed_ver_1.1.1 (update 3) Ruben Barkow 26 Mar 2005  
edit languages fixed ver 1.1 - update 2 Ruben Barkow 24 Mar 2005  
edit languages fixed ver 1.1 - update Ruben Barkow 23 Mar 2005  
edit languages fixed ver 1.1 Ruben Barkow 23 Mar 2005  
edit languages 1.1 Nejat Philip Eryigit 9 Aug 2004  
Edit Languages Julian Brown 16 Aug 2003