Show my e-shop en two languages with a link

insyse

No avatar

2009-01-04 15:16

Hi ...

I have a QC v3.0 and i want to enable the client can to select the language with a link, but without to made two shops differents..

I can do it??

» Quick.Cart v3.x

Leonardo

insyse

No avatar

2009-01-04 15:18

Like the shop in demo

http://opensolution.org/Quick.Cart/demo/

Please help me...

Leonardo

beholder

Avatar: beholder

2009-01-04 18:33

please check: http://opensolution.org/Quick.Cart/docs/?id=instruction#languages_management

with the other question: you want to have 2 languages but products untranslated in another language?

Didier31

Avatar: Didier31

2009-01-04 22:13

see, beholder ? I'm not the only one...

insyse, a new independent" international engineering group" :-) is working on a language independent version of QC 3. For the moment all I can say is just that we will remove the language prefix from all db filenames. It will need *a lot* of testing. So please wait a few days.

http://www.airtrainingsystems.com/iloveqc.bmp

insyse

No avatar

2009-01-05 02:49

Thanks to beholder and Didier31, for your answers... but, i need to do a link, like is the quick.cart demo (http://opensolution.org/Quick.Cart/demo/?sLang=en - ?sLang=pl ) that allows visitors to change the language of the e-shop (example: in the quick.cart demo EN-PL link with flags)

I hope you understand me..

QC v3.0
Tnks

Leonardo

treewood (OpenSolution)

Avatar: treewood

2009-01-05 08:08

insyse - then read this:
http://opensolution.org/Quick.Cart/docs/?id=instruction#languages_management

Didier31

Avatar: Didier31

2009-01-05 21:37

treewood

I did what is explained in the page in reference.
I created a new site in English
I then created a new language, French
I copied my own fr.php file to supersede the new one
then when I swap from en to fr I get

Warning: Invalid argument supplied for foreach() in /home/air/www/QC32EXT/core/pages.php on line 599

Warning: Cannot modify header information - headers already sent by (output started at /home/air/www/QC32EXT/core/pages.php:599) in /home/air/www/QC32EXT/actions_client/p.php on line 139

Why ?
Thanks.

tired...

Didier31

Avatar: Didier31

2009-01-05 21:50

Because Didier31 you did not read the documentation.
Doc sez :

Create language using - choose language which will be basic for new one.
../..
Now you should create pages in added language.

How could QC map a minimum of one page in the new language if none exist ?

:-)

less tired...

Didier31

Avatar: Didier31

2009-01-05 21:55

insyse

what has been explained just before by Treewood is NOT what you're looking for. I just experimented it. Using this feature has the same result as changing the default language in the admin menu, which is to swap from a set of db files from one language to another language, which is NOT what we wish to accomplish, right ?

So, I was right. Gimme some time and I'll come back with *my* solution : many languages, one database (for the moment).

I solved (in theory) the translation problem for the texts inside the pages by adding on each page two texts, one in each language. I hope I will find something better later on.

Bye for now.

Full of hope.

Back to top
about us | contact