Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

And I though OSC was good, can't I really do this?


nezbie

Recommended Posts

Change the language of outgoing e-mails? I'm able to change the language of "tell a friend" only, but what about account creation, lost password, orders ?

 

I'd really really need to change them...

If there truly is evil in this world. It lies within the heart of mankind..

Link to comment
Share on other sites

I don't need to change the order or anything of the "pieces"... I'd need to know how to change the words on other language that appear on e-mails... like "Order Number: 3" I can't have them in english on a different language of webstore, it looks stupid and unprofessional... please?

If there truly is evil in this world. It lies within the heart of mankind..

Link to comment
Share on other sites

Hey, for real. It can't be true that nobody knows? I really need to change those, otherwise all my efforts for OSC are lost, I can't really leave anything in english because my store should be fully on a different language! :shock:

If there truly is evil in this world. It lies within the heart of mankind..

Link to comment
Share on other sites

Catalog/checkout_process.php is the file that sends the confirmation e-mail and the relative catalog/includes/languages/your_language/checkout_process.php is where you can change those words, where your_language is the language chosen by the user clicking on the nation flag, however the e-mail is automatically sent out in the language chosen, provided that the language wanted is installed under catalog/includes/languages.

Accout creation in a similar way: catalog/create_accout_process.php and its language file.

Check Wiky.

HTH

Link to comment
Share on other sites

You will just need to change the text in the language folders that you are using. I am not sure if there is a Finish language add-on or you have to do it manually? The text of the e-mails for English are located in two main places- for creating an account the text is in catalog/includes/languages/english/create_account_process.php . The text for the e-mails that are sent out from the admin section for status changes are in admin/includes/languages/english/orders.php .

 

I did find these add-ons which I assume places a finnish language folder in your language directories and probably has most of the files already changed for you. If the above two language files have not already been translated you would just need to translate them and add the new translated files to your Finnish language folders.

 

http://www.oscommerce.com/community/contri...ions,387/page,2

 

HTH

Link to comment
Share on other sites

Here is the catalog/includes/languages/finnish/create_account_process.php file..is this what you are looking for?

 

<?php

/*

 $Id: create_account_process.php,v 1.12 2002/07/07 05:15:54 project3000 Exp $



 The Exchange Project - Community Made Shopping!

 http://www.theexchangeproject.org



 Copyright (c) 2000,2001 The Exchange Project



 Released under the GNU General Public License

*/



define('NAVBAR_TITLE_1', 'Uusi k?ytt?j?tunnus');

define('NAVBAR_TITLE_2', 'Prosessi');

define('HEADING_TITLE', 'Omat tiedot');



define('EMAIL_SUBJECT', 'Tervetuloa ' . STORE_NAME);

define('EMAIL_GREET_MR', '' . stripslashes($HTTP_POST_VARS['lastname']) . ',' . "nn");

define('EMAIL_GREET_MS', '' . stripslashes($HTTP_POST_VARS['lastname']) . ',' . "nn");

define('EMAIL_GREET_NONE', '' . stripslashes($HTTP_POST_VARS['firstname']) . ',' . "nn");

define('EMAIL_WELCOME', 'Tervetuloa <b>' . STORE_NAME . '</b>. -kauppaan' . "nn");

define('EMAIL_TEXT', '<b>Monipuoliset</b> s?hk?iset palvelujamme ovat nyt k?ytett?viss?si. Mm:' . "nn" . '<li><b>Kestokori</b> - Tuotteet pysyv?t korissa useiden istuntojen ajan.' . "n" . '<li><b>Oma osoiteluettelo</b> - Sinulla voi olla osoiteluettelossasi useita toimitusosoitteita! .' . "n" . '<li><b>Tilaushistoria</b> - Voit selailla aikaisempia ostoksisiasi.' . "n" . '<li><b>Tuotearvostelut</b> - Asiakkaiden mielipiteit? tuotteistamme.' . "nn");

define('EMAIL_CONTACT', 'S?hk?ist? kauppaamme koskevia kysymyksi? voi l?hett?? osoitteella: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "nn");

define('EMAIL_WARNING', '<b>Huom:</b> Er?s asiakkaistamme antoi meille s?hk?postiosoitteenne. Jos haluatte, ett? tietonne poistetaan rekisterist?mme, niin l?hett?k?? s?hk?postia osoitteella:' . STORE_OWNER_EMAIL_ADDRESS . '.' . "n");

?>

Link to comment
Share on other sites

define('EMAIL_SEPARATOR', '------------------------------------------------------');

define('EMAIL_TEXT_SUBJECT', 'Tilauksen muutos');

define('EMAIL_TEXT_ORDER_NUMBER', 'Tilausnumero:');

define('EMAIL_TEXT_INVOICE_URL', 'Lasku:');

define('EMAIL_TEXT_DATE_ORDERED', 'Tilausp?iv?:');

define('EMAIL_TEXT_STATUS_UPDATE', 'Tilauksi on k?sittelyss?.' . "nn" . 'Uusi tilauksen tila on: %s' . "nn" . 'Vastaa t?h?n viestiin, jos sinulla on jotakin kysytt?v?? asiasta.' . "n");

 

define('ERROR_ORDER_DOES_NOT_EXIST', 'Virhe: Tilausta ei l?ydy.');

define('SUCCESS_ORDER_UPDATED', 'Tilausmuutos onnistui.');

?>

 

As you can see the text in admin/includes/languages/finnish/orders.php seem to be in finnish, when the e-mail is sent, those above are in english... How can that be :roll:

 

Anyway, thanx JB, you have been great help so far :)

If there truly is evil in this world. It lies within the heart of mankind..

Link to comment
Share on other sites

Lankamaija

------------------------------------------------------

Order Number: 19

Detailed Invoice: http://shop.eaglesoft.levillage.org/catalo...php?order_id=19

Date Ordered: Wednesday, 28 May 2003

 

Products

------------------------------------------------------

1 x The Matrix (DVD-MATR) = 36.60EUR

------------------------------------------------------

Yhteens?: 36.60EUR

Toimitus postiennakolla (sis?lt?? 3?:n postiennakkomaksun): 10.00EUR

ALV 22.0%: 6.60EUR

Yhteens?: 46.60EUR

 

Delivery Address

------------------------------------------------------

Mikko Kulmala

Pennintie 3 as 7

Huittinen, 32700

Satakunta, Finland

 

 

Billing Address

------------------------------------------------------

Mikko Kulmala

Pennintie 3 as 7

Huittinen, 32700

Satakunta, Finland

 

 

Payment Method

------------------------------------------------------

Maksu toimituksen yhteydess?

 

And it comes like this... You can (all) see that some of it's in Finnish and some of it's in english, actually the "headers"

If there truly is evil in this world. It lies within the heart of mankind..

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...