Language ussues

Tagged: ,

This topic has been marked as not resolved.

Hi,

1) In admin panel I need only one language – russian. Because I don’t need to fill product name both on russian and english, same for category name, etc. (screenshot 1) But if I delete english in admin panel, shoppica 2 cp module stops working. I can paste you here an error message, if you need.

2) Google fonts works only for latin text. Cyryllic looks like a basic font (screenshot 2)

Thank you.

July 20, 2012 at 7:50 pm #11593

Hi!

I found location of problem
In:
/tb_themes/shoppica2/catalog/plugin/FontsPlugin.php

line:14

$font = $this->extension_settings['font'][$fallback_language_id];

for russion language:
$fallback_language_id == ’3′

but var_dump($this->extension_settings['font']);
show array only with index ’1′;

array(1) {
[1]=>
array(39) {
["body_family"]=>
string(7) “default”
["body_type"]=>
string(0) “”
["body_variant"]=>
string(0) “”
["body_subsets"]=>
string(0) “”
["navigation_family"]=>
string(7) “default”
["navigation_type"]=>
string(0) “”
["navigation_variant"]=>
string(0) “”
["navigation_subsets"]=>
string(0) “”
["navigation_size"]=>
string(2) “16″
["intro_family"]=>
string(7) “default”
["intro_type"]=>
string(7) “default”
["intro_variant"]=>
string(0) “”
["intro_subsets"]=>
string(0) “”
["intro_size"]=>
string(2) “32″
["title_family"]=>
string(7) “default”
["title_type"]=>
string(7) “default”
["title_variant"]=>
string(0) “”
["title_subsets"]=>
string(0) “”
["price_family"]=>
string(7) “default”
["price_type"]=>
string(7) “default”
["price_variant"]=>
string(0) “”
["price_subsets"]=>
string(0) “”
["button_family"]=>
string(7) “default”
["button_type"]=>
string(7) “default”
["button_variant"]=>
string(0) “”
["button_subsets"]=>
string(0) “”
["button_size"]=>
string(2) “16″
["body_css_weight"]=>
string(7) “default”
["body_css_style"]=>
string(7) “default”
["navigation_css_weight"]=>
string(7) “default”
["navigation_css_style"]=>
string(7) “default”
["intro_css_weight"]=>
string(7) “default”
["intro_css_style"]=>
string(7) “default”
["title_css_weight"]=>
string(7) “default”
["title_css_style"]=>
string(7) “default”
["price_css_weight"]=>
string(7) “default”
["price_css_style"]=>
string(7) “default”
["button_css_weight"]=>
string(7) “default”
["button_css_style"]=>
string(7) “default”
}
}

HOW TO FIX IT???

July 22, 2012 at 4:25 pm #11648

http://support.themeburn.com/topic/problems-with-language#post-10475 – found topic with the same issue. There it said that it’s not a problem to delete english language in admin panel. But when I do it, I get an error and site stop working and I need to add english language again.
I need to add products and it slows process, so it’s a problem for me. How to fix it?

July 24, 2012 at 9:29 am #11685

You can delete the english language from the admin panel, but you don’t have to delete the actual ‘english’ folder. Just leave it, it won’t disturb you. Shoppica uses the english folder to fall back to it when there are not-translated strings for another language.

About the Cyrillic issues – some google fonts support Cyrillic character set, some don’t. Browse google webfonts and filter out the Cyrillic fonts to find out which ones you can use.

Regards,
ThemeBurn team

July 25, 2012 at 11:26 am #11713

Yes, I delete it from admin panel, I don’t touch english folder. And this error appears

About Cyrillic – got it, thank you.

July 25, 2012 at 11:56 am #11719

Which is the error you got ?

July 25, 2012 at 12:10 pm #11720

This one:

PHP Fatal error: ‘The fallback language does not exist: en’
in …/public_html/tb_themes/shoppica2/library/ExtensionModel.php:144
Stack trace:
#0 tb_themes/shoppica2/catalog/ThemeCatalogExtension.php(149): TB_ExtensionModel->getFallBackLanguage()
#1 tb_themes/shoppica2/catalog/ThemeCatalogExtension.php(133): Theme_Catalog_Extension->loadLanguage(‘theme’)
#2 tb_themes/shoppica2/library/CatalogManager.php(37): Theme_Catalog_Extension->loadDefaultLanguage()
#3 tb_themes/shoppica2/library/CatalogDispatcher.php(47): TB_CatalogManager->initExtensions(Object(TB_DataBag))
#4 catalog/controller/common/tb.php(35): TB_CatalogDispatcher->dispatch()
#5 [internal function]: ControllerCommonTb->index(Object(Front))
#6 vqmod/vqcache/vq2-system_engine_front.php(48): call_user_func_array(Array, Array)
#7 vqmod/vqcache/vq2-system_engine_front.php(29): Front->execute(Object(Action))
#8 index.php(223): Front->dispatch(Object(Action), Object(Action))
#9 {main}

July 25, 2012 at 12:15 pm #11721

I see you are using vqmod. It could be something related to it. Could you disable all of your vqmods and try again ? If this doesn’t help, please provide FTP login details, so we can throw a look.

Regards,
ThemeBurn team

July 25, 2012 at 12:26 pm #11722

I’ve removed vqmod. It didn’t help:

PHP Fatal error: ‘The fallback language does not exist: en’
in /home/buypool/domains/terawatt.ru/public_html/tb_themes/shoppica2/library/ExtensionModel.php:144
Stack trace:
#0 tb_themes/shoppica2/catalog/ThemeCatalogExtension.php(149): TB_ExtensionModel->getFallBackLanguage()
#1 tb_themes/shoppica2/catalog/ThemeCatalogExtension.php(133): Theme_Catalog_Extension->loadLanguage(‘theme’)
#2 tb_themes/shoppica2/library/CatalogManager.php(37): Theme_Catalog_Extension->loadDefaultLanguage()
#3 tb_themes/shoppica2/library/CatalogDispatcher.php(47): TB_CatalogManager->initExtensions(Object(TB_DataBag))
#4 catalog/controller/common/tb.php(35): TB_CatalogDispatcher->dispatch()
#5 [internal function]: ControllerCommonTb->index(Object(Front))
#6 system/engine/front.php(47): call_user_func_array(Array, Array)
#7 system/engine/front.php(29): Front->execute(Object(Action))
#8 index.php(219): Front->dispatch(Object(Action), Object(Action))
#9 {main}

July 25, 2012 at 4:45 pm #11727

Hi,

try this patch – it should fix your issues.

Regards,
ThemeBurn team

July 29, 2012 at 10:37 am #11848
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.