osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

languages mixed up

This is a discussion on languages mixed up within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; In the Admin, when I go to the order details page (admin/orders.php), the subtotal, tax, etc. lines are in French. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-25-2006, 01:28 PM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
Default languages mixed up

In the Admin, when I go to the order details page (admin/orders.php), the subtotal, tax, etc. lines are in French. It looks like this:
Quote:
Sous-Total : $194.00
TVA : $104.48
Réduction : $0.00
Livraison : $0.00
Total : $298.48
Plus, I see the same thing when I go to edit orders (admin/edit_orders.php).

Is this a code or db issue? I have the default language set to "en" in the config. Any help is much appreciated.

Thx,
C
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-25-2006, 10:46 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default RE: languages mixed up

Auto select language might be the problem - WHAT is the default language the server you installed it on? You can change the language displayed in the admin then "remove" french and german if you don't need it. If you need them then you could copy the admin english files over the french files..... then it alway displays english in the ADMIN only - even if french is being selected...
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-25-2006, 11:27 PM
chrismole's Avatar
Active Member
 
Join Date: Dec 2003
Location: Chicago
Posts: 102
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 5
chrismole
Default RE: languages mixed up

funny... I thought of that and tried it, but no luck, it still shows in French. Must be a bug in the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-26-2006, 08:22 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,069
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: languages mixed up

It is a bug in the manual order entry mod. It was written by a person that French is their native language, and the mod is not fully dynamic language compatible. Perhaps a more recent version of the mod has corrected this.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 04-03-2006, 11:45 AM
Member
 
Join Date: Feb 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
spottedhaggis
Default RE: languages mixed up

I have the same bug in mine, however I am not sure its a bug in a file but a bug in the db. Mine was fine up to last night when I discovered the client had added some 200 more products into his old OSC database, so during my process or inserting these, I found it was easier to do a complete re-sync of the databases and then simply import the required tables, same as last time.

Everything went perfectly (since I have this down now) exept now my edit orders page in admin has french wording.

This to me suggests its a database entry, problem is i cant find it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-03-2006, 01:15 PM
Member
 
Join Date: Feb 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
spottedhaggis
Default RE: languages mixed up

I found the problem was located in the Orders_totals section of the database. I have absolutely no idea how they got there, when the others are all english, but it is simply fixed.

This is what the area concerned looks like in phpmyadmin



Wish I knew how it got there though, thats truly weird

As it turns out the 2 orders this corresponds to was my testing the create order option for a customer, these entries were then created.

This leads me to believe the french issue is caused by the creation of orders by admin in admin?

Anyone got any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 04-03-2006, 01:25 PM
Member
 
Join Date: Feb 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
spottedhaggis
Default RE: languages mixed up

ok confirmation. If you create a new order it creates the french text. Does anyone know where this is happening
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 04-03-2006, 01:27 PM
Member
 
Join Date: Feb 2006
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
spottedhaggis
Default RE: languages mixed up

You can find the fault inside the following file - admin/create_orders.php

it looks like this

$sql_data_array = array('orders_id' => $insert_id,
//Comment out line you don't need
//'new_value' => $new_value, //for 2.2
'orders_status_id' => $new_value, //for MS1 or MS2
'date_added' => 'now()');
tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array);


$sql_data_array = array('orders_id' => $insert_id,
'title' => "Sous-Total :",
'text' => $temp_amount,
'value' => "0.00",
'class' => "ot_subtotal",
'sort_order' => "1");
tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array);


$sql_data_array = array('orders_id' => $insert_id,
'title' => "Réduction :",
'text' => $temp_amount,
'value' => "0.00",
'class' => "ot_customer_discount",
'sort_order' => "2");
tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array);


$sql_data_array = array('orders_id' => $insert_id,
'title' => "TVA :",
'text' => $temp_amount,
'value' => "0.00",
'class' => "ot_tax",
'sort_order' => "2");
tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array);


$sql_data_array = array('orders_id' => $insert_id,
'title' => "Livraison :",
'text' => $temp_amount,
'value' => "0.00",
'class' => "ot_shipping",
'sort_order' => "3");
tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array);



$sql_data_array = array('orders_id' => $insert_id,
'title' => "Total :",
'text' => $temp_amount,
'value' => "0.00",
'class' => "ot_total",
'sort_order' => "4");
tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Mixed Downloads + Physical Product = No Shipping avibodha osCMax v2 Installation issues 1 01-27-2007 12:48 AM
Subtracting from Inventory - mixed store talus osCMax v1.7 Discussion 2 06-17-2005 07:24 AM
Languages DozeR osCMax v1.7 Discussion 1 12-18-2004 11:38 PM
Only using english, how to get rid of other languages ? twinklep osCommerce 2.2 Modification Help 2 09-17-2004 03:04 PM
Languages... ReginaStelling osCommerce 2.2 Installation Help 0 04-14-2004 06:19 AM


All times are GMT -8. The time now is 03:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax