error in adding another language

embaka

No avatar

2010-02-01 16:15

Hello,
I want to add 3rd language, but not only in the user area, but also in administration. I created db files needed in their language, but it went into administration and then change my write this:

Fatal error: Call to undefined function de_pages() in D:\xampp\htdocs\mag\mag\core\pages.php on line 299

version is 3.5. tell me how to fix it

indeed in part as a user adds another language shows the same
Fatal error: Call to undefined function de_pages () in D: \ xampp \ htdocs \ mag \ mag \ core \ pages.php on line 299

» Quick.Cart v3.x

Makaron

Avatar: Makaron

2010-02-01 16:38

Here You have complete solution how to add new language: http://opensolution.org/Quick.Cart/docs/?id=instruction#languages_management

embaka

No avatar

2010-02-01 17:25

the administration is fine, but the user part is not showing anything of what caused the problem in the case
http://dwdvideo.com/files/language.png

beholder

Avatar: beholder

2010-02-02 05:21

the problem is that you "created db files". You need to replace the xx_*() function name with de_*() in *.def.php files.

xx being the language code from which you took the files.

If you still don't understand how you should fix this then just delete everything and follow Makaron's instructions.

DonD

Avatar: DonD

2010-02-05 19:12

hi!

hope its proper post for my problem...

i get the sam problem, like errors with new language, but i can get proper language in admin section, and also proper language in front section - but the problem is, that when i add whatever new (page, link and so on) i always get errors, nothing happend and i canot add nothing...

i notice, that i didn get any new "pages" created in folder "db" - there should be files - indicated to proper language...there are just pl_ files and en_ files....

so, server "missing" files from new language file...

so, how to get this files created????

example:
ERROR - NO FILE db/si_pages.def.php
ERROR - NO FILE db/si_pages_ext.def.php

Warning: Cannot modify header information - headers already sent by (output started at /home/cenexsi/public_html/quickcart35/libraries/FlatFiles.php:131) in /home/cenexsi/public_html/quickcart35/actions_admin/p.php on line 20

p.s.: i properly install lahguage file (in my case si), i properly set chmod on server...

beholder

Avatar: beholder

2010-02-07 14:46

DonD, please show contents of your whole db/ directory

Back to top
about us | contact