This topic has been marked as not resolved.
- You must be logged in to reply to this topic.
This topic has 5 voices, contains 24 replies, and was last updated by TB Support 4591 days ago.
ThemeBurn Support › Forums › OpenCart Themes › Shoppica OpenCart Theme › problem with translation
This topic has been marked as not resolved.
Hi, Theme Burn! - when I switch to Bulgarian, I see this error on the top of the page: “otice: Undefined index: 2 in /home/zizuwebe/public_html/esavenue/catalog/controller/module/welcome.php on line 8″ - after, when I swith back to English version, I see some other notice:
- and also when I put mouse over a product from Latest, I don’t see “Add to cart, Compare, and Wishlist” links Could you please help me to resolve this issues? Thanks in advance! |
|
August 12, 2011 at 9:36 pm #502
|
|
I have similar problem that does not show hover layer when switching to Vietnamese language. Please reply urgently. Thank you in advance. |
|
August 13, 2011 at 6:18 pm #524
|
|
I resolved these problems, so you can close this post. Popobc, when I had translated these strings in my language, I saw them – they are in shoppica.php |
|
August 14, 2011 at 2:35 pm #563
|
|
Yes, this is problem with the translation files and is not related to Shoppica at all. I’ll leave this post because other users might benefit from it. zizuweb – if you don’t mind, could you post which strings were causing the problem so the others can fix it quicker ? |
|
August 14, 2011 at 2:40 pm #567
|
|
Thank you (zizuweb) very much for your pointing out the problems; However, could you please show the string causes the error as TB Support said? Thank you in advance. |
|
August 15, 2011 at 9:26 am #621
|
|
Hi, everybody, the exact path of file is /public_html/estore/catalog/language/bulgarian/module and the strings are: $_['shoppica_text_wishlist'] = ‘Wishlist’; I hope this will be useful for other users! Regards!
|
|
August 15, 2011 at 10:11 am #624
|
|
Hello, we found the problem that there’s missing a closed tag of PHP ” ?> ” if we put the translated text without tone : compare = ‘so sanh’; that’s fine. but if with tone, compare = ‘so sánh’; problem occurs with only firefox 5. Please check that why unicode font cannot be used there. |
|
August 15, 2011 at 10:27 am #626
|
|
Thanks Zizuweb, So this problem has been fixed so far … Thank you all. |
|
August 15, 2011 at 11:21 am #627
|
|
Unicode With BOM is not recomented at all. It is a common reason for broken layouts. The BOM signature troubles the browser’s HTML rendering engine. Also, a missing closing tag of PHP file is not an issue. Quite the contrary – it is recommended PHP practice. When you include a php file with space after the closing tag, PHP will send this space to the browser. And if the output buffering is disabled you will encounter the ‘headers already sent’ problem. |
|
August 15, 2011 at 11:32 pm #661
|
|
Hi TB Support, Thank you in advance. |
|
August 22, 2011 at 6:45 am #933
|
|
Hi popobc! We really couldn’t observe any issues with Firefox 5 and unicode. The unicode problems are not tied to the files always. Your apache server can screw up the unicode, your php could also be the problem, your database connection sometimes. Also some file editing tools don’t recognize the proper encoding sometimes. What I recommend is to make a test with a clean shoppica installation without modifying anything. You can check then if your problems with unicode continue to appear. Regards, ThemeBurn team |
|
August 24, 2011 at 12:33 pm #1039
|
|
Hi, I am getting the error also with Spanish translation.. can you offer any help for me to resolve it? Notice: Undefined index: 2 in /home/cositas/public_html/catalog/controller/module/welcome.php on line 8 Hope you can advise me.. Skooz. |
|
September 1, 2011 at 12:11 pm #1307
|
|
@skooz – your problem is due to untranslated strings. As the @zizuweb states above, you should open your language file and check if these strings are present there:
Also, make sure you followed this guide when adding the Spanish language. Regards, ThemeBurn team |
|
September 1, 2011 at 1:05 pm #1318
|
|
Thanks for Reply. Thanksagain for response. Regards, Skooz |
|
September 1, 2011 at 1:30 pm #1320
|
|
Hi, I have exactly the same problem than Skooz and I have followed the guide and checked the strings. What else can I do? My problem is: Notice: Undefined index: 2 in /homepages/27/d348863449/htdocs/catalog/controller/module/shoppica.php on line 75 And when I swap from Spanish to english I get this: Notice: Undefined index: 2 in /homepages/27/d348863449/htdocs/catalog/controller/module/shoppica.php on line 75Warning: Cannot modify header information – headers already sent by (output started at /homepages/27/d348863449/htdocs/index.php:100) in /homepages/27/d348863449/htdocs/system/engine/controller.php on line 28Warning: Cannot modify header information – headers already sent by (output started at /homepages/27/d348863449/htdocs/index.php:100) in /homepages/27/d348863449/htdocs/system/engine/controller.php on line 29 I know there is nothing wrong with Shoppica, but I would appreciate if somebody can help me. Many thanks in advance |
|
September 1, 2011 at 2:00 pm #1322
|