Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing Language


fenner21

Recommended Posts

Posted
I need an extra language, but only so it changes the infoboxes, not the product description.

 

Is it possible?

 

most simple way is to install the language and copy your current descriptions "as is" into the new language.

Treasurer MFC

Posted
most simple way is to install the language and copy your current descriptions "as is" into the new language.

 

That's possible, but would like to avoid that, specially if you have like 6 languages

Posted
That's possible, but would like to avoid that, specially if you have like 6 languages

 

 

but what is the point of having 6 site languages while your product descriptions are in only 1 language ?

Treasurer MFC

Posted
but what is the point of having 6 site languages while your product descriptions are in only 1 language ?

 

I know.. but is it possible in a easy way.. or does it mean alot of work?

 

Just curious :rolleyes:

Posted
I know.. but is it possible in a easy way.. or does it mean alot of work?

 

Just curious  :rolleyes:

 

As far as I can see you would have to alter the queries that select the product info so that it uses the language you have defined it for and not the one the user has selected.

 

so the where clause :

 

where ....... and language_id = '" . $languages_id . "' ......

 

would become

 

where ....... and language_id = 1, 2 or 3 ......

Treasurer MFC

Posted
As far as I can see you would have to alter the queries that select the product info so that it uses the language you have defined it for and not the one the user has selected.

 

so the where clause :

 

where ....... and language_id = '" . $languages_id . "' ......

 

would become

 

where ....... and language_id = 1, 2 or 3 ......

 

 

Ahh.. Thanks :thumbsup:

Archived

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

×
×
  • Create New...