Post by Eagleofnorth » Wed Nov 14, 2007 8:23 pm

Now, this was a very promising cart system! Seems excellent for my needs!

However I need it to work with my native language - Norwegian....

I tried to install the language pack available (which has a very good quality of translation) and things disappear. All the modules are gone, the trial products etc.

Any solution for this?

Thanks again!

Eagle.

Newbie

Posts

Joined
Wed Nov 14, 2007 8:18 pm

Post by tchemis » Wed Nov 14, 2007 9:44 pm

I believe you have to create products in the chosen language. I have not need to install a language pack but I will try the French one today.

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by Eagleofnorth » Wed Nov 14, 2007 10:04 pm

Thanks for answering, tchemis!

Even stranger, when using another language all modules are lost.... For example I can not disable the "Recommend" function since that module is no longer there....

Perhaps there is another way to change the language?

Eagle.

Newbie

Posts

Joined
Wed Nov 14, 2007 8:18 pm

Post by 3806 » Mon Nov 26, 2007 10:15 pm

Why, when I choose other language, categories and the new goods are not displayed? (English and Russian languages are installed).
Now I see on the main Administration page, that in the catalogue there is 6 goods. But as soon as I come in: http: // ***. ***/store/admin/index.php? controller=product
there it is not visible any goods.
How to make, that the goods it was again visible?

Вот это глюк!
Для каждого языка товар должен заносится в каталог отдельно, несмотря на то, что товар-то один и тот же :)
Last edited by 3806 on Tue Nov 27, 2007 1:21 am, edited 1 time in total.

New member

Posts

Joined
Sat Nov 24, 2007 11:20 pm
Location - Ukraine

Post by Fresher » Mon Apr 14, 2008 10:16 pm

Eagleofnorth wrote: Thanks for answering, tchemis!

Even stranger, when using another language all modules are lost.... For example I can not disable the "Recommend" function since that module is no longer there....

Perhaps there is another way to change the language?

Eagle.
as same as mine...have you found solution?

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by bruce » Tue Apr 15, 2008 7:33 am

Hi fresher, I did manage to have a look at this and it is a bug.

Note the following code in admin/controller/extension.php

Code: Select all

		if (!$session->get('extension.search')) {
			$sql = "select e.extension_id, ed.name, ed.description, e.code, e.type, e.controller from extension e left join extension_description ed on e.extension_id = ed.extension_id where e.type = '?' and ed.language_id = '" . (int)$language->getId() . "'";
		} else {
			$sql = "select e.extension_id, ed.name, ed.description, e.code, e.type, e.controller from extension e left join extension_description ed on e.extension_id = ed.extension_id where e.type = '?' and ed.language_id = '" . (int)$language->getId() . "' and ed.name like '?'";
		}
It tries to show the descriptions in the store language. When you add a new language, they are not there and you can't add them because they need to be there to display the list.  ;D (insert evil laughter here)

change it to

Code: Select all

		if (!$session->get('extension.search')) {
			$sql = "select e.extension_id, ed.name, ed.description, e.code, e.type, e.controller from extension e left join extension_description ed on e.extension_id = ed.extension_id where e.type = '?' and ed.language_id = '1'";
		} else {
			$sql = "select e.extension_id, ed.name, ed.description, e.code, e.type, e.controller from extension e left join extension_description ed on e.extension_id = ed.extension_id where e.type = '?' and ed.language_id = '1' and ed.name like '?'";
		}
and it will display the list with the english descriptions... always.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Fresher » Wed Apr 16, 2008 4:35 am

i solved this problem in a way that i have to put my language name in the modules. for example, the module in english is named "footer" i just click on modification button and entered discription in my language (i did it with all modules..tiering work..) so after i deleted english the module section is working :)

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by OnlyBlue » Wed Aug 06, 2008 10:27 am

3806 wrote: Why, when I choose other language, categories and the new goods are not displayed? (English and Russian languages are installed).
Now I see on the main Administration page, that in the catalogue there is 6 goods. But as soon as I come in: http: // ***. ***/store/admin/index.php? controller=product
there it is not visible any goods.
How to make, that the goods it was again visible?

Вот это глюк!
Для каждого языка товар должен заносится в каталог отдельно, несмотря на то, что товар-то один и тот же :)
I meet the same problem as you. :(
I tried bruce's solution. It's no effect.
I don't understand Fresher's solution.

Who can give us a detailed multi-language settings instruction?

Thanks!

New member

Posts

Joined
Sun May 13, 2007 8:52 am

Post by bruce » Wed Aug 06, 2008 10:50 am

You have to go through all your categories and products and everything else with multilingual support in the database and add title/description etc values in all installed languages. You will have to do order status values too (easier to directly edit the database as the gui is broken)

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by fido-x » Thu Aug 07, 2008 7:35 pm

I tried bruce's solution. It's no effect.
Bruce's method will work if you don't delete your English language folder. By default, English is language "1", if you delete your English language folder, then you don't have language "1", subsequently nothing can be displayed.

Fido-X.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by bruce » Thu Aug 07, 2008 10:46 pm

Almost correct, it works if you do not delete the english language from the admin management of languages.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm
Who is online

Users browsing this forum: No registered users and 4 guests