Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is the French Module missing default.php?


Guest

Recommended Posts

Plasma Shop French module

 

I am currently running

osCommerce 2.2-CVS.

 

I have a problem with the French Moduel

2.2_MS2_french_language_full_pack_v0.4

 

Are the two compatible?

I have noticed that ?default.php? is missing from the files that I downloaded from the contributions.

Was there a ?default.php? made?

 

 

This is the page error: :blink:

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

 

Warning: main(includes/languages/french/default.php): failed to open stream: No such file or directory in /home/plasma/public_html/osCommerce/index.php on line 33

 

Fatal error: main(): Failed opening required 'includes/languages/french/default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/plasma/public_html/osCommerce/index.php on line 33

 

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

 

Thank you

Alex Karayan

http://www.plasmashop.ca/osCommerce/

 

"Learning Curves"

Link to comment
Share on other sites

Try renaming includes/languages/french/index.php to default.php

 

Your language pack is newer than your store and the filenames have changed.

 

Hth,

Matt

Link to comment
Share on other sites

Thank you :D

 

Actually I downloaded the file I needed.?default.php?

 

I was able to translate the French instructions

http://world.altavista.com/

 

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

 

<?php

/*

$Id: default.php,v 1.18 2002/01/14 10:34:17 jan0815 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Ceci est une boutique de démonstration, <b>aucun des articles achetés ne sera facturé ou livré</b>. Toutes les informations sur les articles présentés ne sont que pure fiction.<br><br>Reste que <b>toph doit remplir le catalogue</b> :)');

define('TABLE_HEADING_NEW_PRODUCTS', 'Nouveaux articles pour %s');

define('TABLE_HEADING_FAVORITE_PRODUCTS', 'Coups de coeur pour %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Articles à venir');

define('TABLE_HEADING_DATE_EXPECTED', 'Date présumée');

 

if ($category_depth == 'products' || $HTTP_GET_VARS['manufacturers_id']) {

define('HEADING_TITLE', 'Articles sélectionnés');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Mod?le');

define('TABLE_HEADING_PRODUCTS', 'Nom');

define('TABLE_HEADING_MANUFACTURER', 'Fabriquant/Editeur');

define('TABLE_HEADING_QUANTITY', 'Quantité');

define('TABLE_HEADING_PRICE', 'Prix');

define('TABLE_HEADING_WEIGHT', 'Poids');

define('TABLE_HEADING_BUY_NOW', 'Acheter maintenant');

define('TEXT_NO_PRODUCTS', 'Il n\'y a aucun articles dans cette catégorie.');

define('TEXT_NO_PRODUCTS2', 'Aucun article de ce fabriquant n\'est disponible.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Nombre d\'articles: ');

define('TEXT_SHOW', '<b>Montrer:</b>');

define('TEXT_BUY', 'Acheter 1 \'');

define('TEXT_NOW', '\' maintenant');

define('TEXT_ALL', 'Tous');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Bienvenue');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Catégories');

}

?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...