[nycphp-talk] intro question
soazine at erols.com
Wed Aug 27 15:59:23 EDT 2003
Sounds like it, but what about customary phrases your site has that aren't
found in the included files? How are those implemented and subsequently
----- Original Message -----
From: "Mauricio Sadicoff" <mlevy at hypersol.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Wednesday, August 27, 2003 3:54 PM
Subject: Re: [nycphp-talk] intro question
> On 8/27/2003 12:41, "Phil Powell" <soazine at erols.com> scribbled:
> > multilingual support - does it also involve "human translation"
> > content management?
> > Just wondering
> > Phil
> Pardon my ignorance on this matter, but... What does that mean? I'll tell
> you how it's done in OSCommerce, you tell me if it qualifies as "human
> translation" multilingual management. I believe it does but I want to make
> sure I understand the term...
> I had once started on a translation project in OSCommerce, but could not
> finish because other projects took precedence and the money for it dried
> out. The multilingual support on OSCommerce is implemented as follows:
> - Most of the files (probably all of them by now) that have something that
> can be viewed by a customer includes
> ./includes/languages/<user-currently-selected-language>/<page-used>. So,
> the main engine's page named account_history.php and with german selected
> the language, the include looks like this:
> The actual call is:
> $include_file = DIR_WS_LANGUAGES . $language . '/' .
> - In the included file, there are defines like this:
> define('TEXT_NO_PURCHASES', 'You have not yet made any purchases...');
> - In the account_history.php page, you simply echo the definition, like
> <? echo TEXT_NO_PURCHASES; ?>
> - To add a language you need to copy the English.php file and the english
> directory inside includes/languages and change the strings. Also, you
> to add an option to the administration area to determine your new language
> as one of the options, but that is easy as pie.
> So, does it qualify?
> Mauricio L. Sadicoff
> mlevy at hypersol.com
> "Peace of mind isn't at all superficial, really," I expound. "It's the
> thing. That which produces it is good maintenance; that which disturbs it
> poor maintenance. What we call workability of the machine is just an
> objectification of this peace of mind. The ultimate test is always your
> serenity." - Zen and the Art of Motorcycle Maintenance.
> talk mailing list
> talk at lists.nyphp.org
More information about the talk