Italian language problem

lsweb

No avatar

2008-05-29 15:57

Hello,
I've installed italian language, but I get this error for the frontend:

Warning: main(templates/themes/) [function.main]: failed to open stream: No such file or directory in /web/htdocs/www......../home/cart/index.php on line 85

Fatal error: main() [function.require]: Failed opening required 'templates/themes/' (include_path='.:/php/lib/php/') in /web/htdocs/www............./home/cart/index.php on line 85

How can I fix it?
Thanks

» Quick.Cart v3.x

Luca

beholder

Avatar: beholder

2008-05-29 16:58

hmm... did you create the IT language from the administration? or you just adjusted the EN files so they 'are' italian?

QC 3.0

lsweb

No avatar

2008-05-29 17:13

Hi, I downloaded the it lang file and uploaded it in lang directory and also in the config dir but renaiming the same file (it lang file) as lang_it.php. After that I went in admin section an set italian as default language. Admin is working but not the frontend...
Help me!!!!!!
Thanks

Luca

beholder

Avatar: beholder

2008-05-29 17:28

hmm, try it this way, on a clean English/Polish install of QC:
- chmod all required directories and files, including config/
- create a new language in the administration, name it as IT
- then copy the italian translation file lang_it.php to the config/ directory, overwriting the existing lang_it.php
- then set the language IT as default for webshop in the administration>settings>options and also as the default administration language (those are two different drop-downs)
- you will have to manually create all relevant pages, like search page, basket, order form page, etc. It's not that difficult, do it in the administration>pages
- you will need to set the default pages for search, order form, basket, etc. in the administration>settings>page

Then it should work.
Installing a new language is a tricky thing, if you have any more problems, tell us here.

QC 3.0

beholder

Avatar: beholder

2008-05-29 17:32

I am sorry, I meant one of the above bullet points from above in this way:
- then copy the italian translation file it.php to the lang/ directory, overwriting the existing it.php

QC 3.0

beholder

Avatar: beholder

2008-05-29 18:15

BTW, if you want only 1 language in your e-shop, just substitute the content of files lang/en.php and config/lang_en.php for italian content. And translate the names of the pages in the administration. That's the easiest way. The default language would be 'en' - but it would actually be the italian translation.

QC 3.0

lsweb

No avatar

2008-05-29 20:04

Thank you very much!!!! I think to use the second method, as it is more simple and I need to use only one language.
Thank you for your help!

Luca

beholder

Avatar: beholder

2008-05-29 20:54

so here is the summary of the 1st solution, in a clear form:

try this on a clean English/Polish install of QC
- chmod all required directories and files, including config/ and lang/
- create a new language in the administration, name it as IT
- then copy the italian translation file it.php to the lang/ directory, overwriting the existing it.php
- then set the language IT as default for webshop in the administration>settings>options and also as the default administration language (those are two different drop-downs)
- you will have to manually create all relevant pages, like search page, basket, order form page, etc. It's not that difficult, do it in the administration>pages
- you will need to set the default pages for search, order form, basket, etc. in the administration>settings>page

Then it should work.

And here is the second, easier solution:
If you want only 1 language in your e-shop, just substitute the content of files lang/en.php and config/lang_en.php for italian content. And translate the names of the pages in the administration. That's the easiest way. The default language would be 'en' - but it would actually be the italian translation.

QC 3.0

Back to top
about us | contact