If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Multi Language Country Names Support Thread

Multi Language Country Names Support Thread

Started by design75 on 15 Jun 2015, 9:34 PM · Views: 2,189

Results 1 to 7 of 7
15 Jun 2015, 9:34 PM
#1
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Multi Language Country Names Support Thread

This is the support thread for the new module: Multi Language Country Names

This will give you the ability to give the country names the right translation for each installed language in your store.

As soon as the link for the download is know it will be posted here.

16 Jun 2015, 7:26 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Multi Language Country Names Support Thread

Here is the download link once the module is approved you will be able to use it

http://www.zen-cart.com/downloads.php?do=file&id=2006

Attachment #15367
Attachment #15368

18 Mar 2017, 1:24 PM
#4
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: Multi Language Country Names Support Thread

I installed the module and now getting the error:

PHP Fatal error: 1054:Unknown column 'c.countries_id' in 'on clause' :: select c.customers_firstname, c.customers_lastname, c.customers_telephone,
c.customers_email_address, ab.entry_company, ab.entry_street_address,
ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id,
z.zone_name, co.countries_id, cn.countries_name,
co.countries_iso_code_2, co.countries_iso_code_3,
co.address_format_id, ab.entry_state
from (customers c, address_book ab )
left join zones z on (ab.entry_zone_id = z.zone_id)
left join countries co on (ab.entry_country_id = co.countries_id)
left join countries_name cn on (c.countries_id = cn.countries_id)
where c.customers_id = '3590'
and ab.customers_id = '3590'
and c.customers_default_address_id = ab.address_book_id
and cn.language_id = '5' ==> (as called by) /xxx/includes/classes/order.php on line 268 <== in /var/www/xxx/includes/classes/db/mysql/query_factory.php on line 167

What is going wrong?

18 Mar 2017, 1:31 PM
#5
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Multi Language Country Names Support Thread

I am not near my computer right now, so I'll have to get back to you later for the exact answer. I suspect it has to do with newer, Sql rules.> manage-it:

I installed the module and now getting the error:

PHP Fatal error: 1054:Unknown column 'c.countries_id' in 'on clause' :: select c.customers_firstname, c.customers_lastname, c.customers_telephone,
c.customers_email_address, ab.entry_company, ab.entry_street_address,
ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id,
z.zone_name, co.countries_id, cn.countries_name,
co.countries_iso_code_2, co.countries_iso_code_3,
co.address_format_id, ab.entry_state
from (customers c, address_book ab )
left join zones z on (ab.entry_zone_id = z.zone_id)
left join countries co on (ab.entry_country_id = co.countries_id)
left join countries_name cn on (c.countries_id = cn.countries_id)
where c.customers_id = '3590'
and ab.customers_id = '3590'
and c.customers_default_address_id = ab.address_book_id
and cn.language_id = '5' ==> (as called by) /xxx/includes/classes/order.php on line 268 <== in /var/www/xxx/includes/classes/db/mysql/query_factory.php on line 167

What is going wrong?

18 Mar 2017, 2:23 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Multi Language Country Names Support Thread

The alias for the countries_id in the portion highlighted below should be co.countries_id instead of c.countries_id:

PHP Fatal error: 1054:Unknown column 'c.countries_id' in 'on clause' :: select c.customers_firstname, c.customers_lastname, c.customers_telephone,
c.customers_email_address, ab.entry_company, ab.entry_street_address,
ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id,
z.zone_name, co.countries_id, cn.countries_name,
co.countries_iso_code_2, co.countries_iso_code_3,
co.address_format_id, ab.entry_state
from (customers c, address_book ab )
left join zones z on (ab.entry_zone_id = z.zone_id)
left join countries co on (ab.entry_country_id = co.countries_id)
left join countries_name cn on ([B]c.countries_id[/B] = cn.countries_id)
where c.customers_id = '3590'
and ab.customers_id = '3590'
and c.customers_default_address_id = ab.address_book_id
and cn.language_id = '5' ==> (as called by) /xxx/includes/classes/order.php on line 268 

Look in /YOUR_ADMIN/includes/classes/order.php, either on or before line 268, recognizing that the table names are most likely identified by their defined names, i.e. TABLE_COUNTRIES instead of countries.

18 Mar 2017, 7:17 PM
#7
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Multi Language Country Names Support Thread

Good catch! I will update the module over the weekend.

lat9:

The alias for the countries_id in the portion highlighted below should be co.countries_id instead of c.countries_id:

PHP Fatal error: 1054:Unknown column 'c.countries_id' in 'on clause' :: select c.customers_firstname, c.customers_lastname, c.customers_telephone,
c.customers_email_address, ab.entry_company, ab.entry_street_address,
ab.entry_suburb, ab.entry_postcode, ab.entry_city, ab.entry_zone_id,
z.zone_name, co.countries_id, cn.countries_name,
co.countries_iso_code_2, co.countries_iso_code_3,
co.address_format_id, ab.entry_state
from (customers c, address_book ab )
left join zones z on (ab.entry_zone_id = z.zone_id)
left join countries co on (ab.entry_country_id = co.countries_id)
left join countries_name cn on ([B]c.countries_id[/B] = cn.countries_id)
where c.customers_id = '3590'
and ab.customers_id = '3590'
and c.customers_default_address_id = ab.address_book_id
and cn.language_id = '5' ==> (as called by) /xxx/includes/classes/order.php on line 268

> Look in /YOUR_ADMIN/includes/classes/order.php, either on or before line 268, recognizing that the table names are most likely identified by their defined names, i.e. TABLE_COUNTRIES instead of countries.