Problems with language

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeProblems with language

This topic has been marked as not resolved.

Hello, firstly thank you for the excellent work.
1. Upload OC
2. Upload Russian
3. Upload shoppica
4. Install OC
5. index.php ->
Find:
// Front Controller
$controller = new Front($registry);
Add:
// TB
$controller->dispatch(new Action(‘common/tb’, array(‘front’ => $controller)), new Action(‘error/not_found’));
6. Install Modules Shoppica 2 CP
7. Install sample data
8. Change default template -> shoppica2
9. Testing->All work good.
10. Add Russian Language
10.1 Russian
10.2 ru
10.3 ru_RU.UTF-8,ru_RU,russian
10.4 ru.png
10.5 russian
10.6 russian
10.7 Enabled
10.8 1
11. Switch to the russian languages.
12. See this [IMG]http://i48.tinypic.com/2a5du6g.png[/IMG]
13. Go to the modules->Shoppica 2 CP->Edit->Save Settings
14. See this [IMG]http://i45.tinypic.com/2zzt75s.png[/IMG]
15. Go to the modules->Welcome->Edit->Save Settings
16. Testing->All work good.
17. I need only one language, i go to locales and delete English
18. PHP Fatal error: ‘The fallback language does not exist: en’
in Z:\home\ltoc\www\tb_themes\shoppica2\library\ExtensionModel.php:144
19. I edit \tb_themes\shoppica2\config.php
Find:
‘fallback_language’ => ‘en’,
Replace:
‘fallback_language’ => ‘ru’,
20. Warning: require_once(Z:\home\ltoc\www/catalog/language/russian/shoppica2/theme.lang.php): failed to open stream: No such file or directory in Z:\home\ltoc\www\tb_themes\shoppica2\catalog\ThemeCatalogExtension.php on line 172
Fatal error: require_once(): Failed opening required ‘Z:\home\ltoc\www/catalog/language/russian/shoppica2/theme.lang.php’ (include_path=’.;/usr/local/php5/PEAR’) in Z:\home\ltoc\www\tb_themes\shoppica2\catalog\ThemeCatalogExtension.php on line 172
21. I created catalog\language\russian(copy files from english
22. See this [IMG]http://i47.tinypic.com/vi0kgk.png[/IMG]
23. If i change fonts with Cyrillic support all will be good.
I think it`s bug.
Could you do it differently, that there are no such large numbers is not planned action, or at least add it in the documentation, thanks!

  • This reply was modified 4327 days ago by  hcmak.
  • This reply was modified 4327 days ago by  hcmak.
  • This reply was modified 4327 days ago by  hcmak.
  • This reply was modified 4327 days ago by  hcmak.
  • This reply was modified 4327 days ago by  hcmak.
  • This reply was modified 4327 days ago by  hcmak.
  • This reply was modified 4327 days ago by  hcmak.
  • This reply was modified 4327 days ago by  hcmak.
 hcmak
June 12, 2012 at 12:45 am #10202

Hi,

How do you change font wirh cyrillic support??

 Ousama
June 14, 2012 at 3:07 am #10313

Hello,

I followed the steps above step and step 23 I do not understand.
So can you explain to me please. Because now I get the same error message as (http://i47.tinypic.com/vi0kgk.png) and in the shoppica setings I get an error message to.
See pic: (Shoppica setings PIC) http://i50.tinypic.com/2w6b2og.jpg

Does anyone know a solution?

 Ousama
June 14, 2012 at 12:53 pm #10324

Change font with Cyrillic support:
Modules->Shoppica 2 CP>Design>Fonts>Change to Arial for example.
[IMG]http://i50.tinypic.com/2v9vvnn.png[/IMG]

 hcmak
June 14, 2012 at 9:41 pm #10371

@hcmak

Thanks for the detailed description. We will have a look.

Generally, you should not delete the English language folder. There is no problem to delete the language from the OpenCart admin panel. The fallback language in the config file, you have edited, is not intended to be changed by theme end users.

@Ousama

There are some fonts from the google directory that support Cyrillic characters. You can easy filter them here: http://www.google.com/webfonts first and

Hope we’ve helped.

Best,
ThemeBurn team

June 18, 2012 at 11:35 am #10475

please, see that:
http://support.themeburn.com/topic/language-issues

July 26, 2012 at 12:43 pm #11774

Hi,

try this patch – it should fix your issues.

Regards,
ThemeBurn team

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