Add language … PHP Fatal error

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeAdd language … PHP Fatal error

This topic has been marked as not resolved.

Im trying to add Hebrew language, follow the instructions, but in the front end get this error:

PHP Fatal error: ‘Could not include the language file /home/johnson/public_html/oc/catalog/language/hebrew/default.php
in /home/johnson/public_html/oc/tb_themes/pavilion/library/ResourceLoader.php:143
Stack trace:
#0 tb_themes/pavilion/library/ThemeManager.php(722): TB_ResourceLoader->loadOcTranslation(‘default’)
#1 tb_themes/pavilion/catalog/ThemeCatalogExtension.php(302): TB_ThemeManager->loadOcTranslation()
#2 tb_themes/pavilion/catalog/ThemeCatalogExtension.php(94): Theme_Catalog_Extension->setLanguageDirection()
#3 tb_themes/pavilion/library/vendor/sfEventDispatcher.php(81): Theme_Catalog_Extension->afterRouting(Object(sfEvent))
#4 tb_themes/pavilion/library/CatalogDispatcher.php(130): sfEventDispatcher->notify(Object(sfEvent))
#5 tb_themes/pavilion/library/CatalogDispatcher.php(66): TB_CatalogDispatcher->doRouting(Object(sfEventDispatcher), Object(Request), Object(TB_ViewDataBag))
#6 tb_themes/pavilion/catalog/boot.php(48): TB_CatalogDispatcher->dispatch(Array)
#7 catalog/controller/common/tb_themes.php(32): TB_Boot::bootTheme(Object(Registry), Object(Front), ‘pavilion’, 0)
#8 [internal function]: ControllerCommonTbThemes->index(Array)
#9 system/modification/system/engine/action.php(65): call_user_func(Array, Array)
#10 system/modification/system/engine/front.php(42): Action->execute(Object(Registry))
#11 system/modification/system/engine/front.php(37): Front->execute(Object(Action))
#12 system/modification/system/engine/front.php(17): Front->dispatch(Object(Action), Object(Action))
#13 index.php(246): Front->addPreAction(Object(Action))
#14 {main}

Please help :-)

Regard

Rose

 

December 29, 2014 at 9:07 pm #36148

Hello,

can you upgrade to the latest Pavilion version 1.2.3, which was released recently ? It should solve your issues.

BR,
ThemeBurn team

December 31, 2014 at 10:59 am #36162

Hi

I upgrade the version and its solve the issue but the template don’t support RTL
Please tell me what to do
the development site is http://www.johnsonclean.co.il/oc

Regard
Rose

January 3, 2015 at 10:02 am #36217

Hello Rose,

RTL is automatically detected based on the main language file:

catalog/languages/YOUR_LANGUAGE/your_language.php

You should have a row with this value (search in the beginning of the file):

$_['direction'] = 'rtl';

BR,
ThemeBurn team

January 5, 2015 at 12:45 pm #36327
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.