Post by Mike_MnD » Wed Nov 25, 2009 4:54 am

I've se eniglish to disable in the localization section from the admin.
So in the front edn is only my native langugage, but when i'm adding new product it still want's a name in the english field to be added ?

Why is this so, and how to remove or stop english language at all, since i want opencart only in one language.

Igrachki.bg - онлайн магазин за играчки


User avatar
Newbie

Posts

Joined
Tue Nov 10, 2009 6:36 am

Post by Daniel » Wed Nov 25, 2009 5:54 am

delete the language from the admin.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by pixellegolas » Sun Feb 21, 2010 1:28 am

I wanted to know this too. So the english folder in language has nothing to do with admin panel? Just for front-end?

Newbie

Posts

Joined
Sun Feb 21, 2010 12:51 am

Post by OSWorX » Sun Feb 21, 2010 1:40 am

There are 2 language folders:

1 for the admin: ../admin/language/
1 for the users: ../catalog/language/

Daniel means that you have to delete the not needed language from the backend (admin):
System -> Locale Settings -> Languages => check the language and hit delete button.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by pixellegolas » Sun Feb 21, 2010 2:03 am

Could not delete english because it was the "admin used language". I changed to admin language to swedish but now I am getting this error:

"Error: Could not load language swedish!"

But I am using it for front-end and works. I know the admin panel is not translated but I thought that it would just use the english that should be inside the not-translated part of the swedish pack

Any ideas?

Newbie

Posts

Joined
Sun Feb 21, 2010 12:51 am

Post by pixellegolas » Sun Feb 21, 2010 2:30 am

I cannot access anything id admin anymore because of this error. Can I change something to make it back to how it was before? I mean with the english also there. Where is this setting for admin language?

Newbie

Posts

Joined
Sun Feb 21, 2010 12:51 am

Post by Qphoria » Sun Feb 21, 2010 6:26 am

First, Technically English should never be deleted. There needs to be a guaranteed current language. If you switch to something like swedish for 1.3.4 while using opencart 1.4.0 then the first time you run into a missing file or value, then your site is going to die.

Second, the language system should fallback to English for any values that aren't there. I had this as a mod for 1.3.2 and 1.3.4 but when 1.4.0 made some terrible changes to the language system, it broke. Lets put the language back to the way it was as it was not broke, so don't fix it. Then we can use the fallback method to english, just like the template system falls back to "default".

Third, In place or combined with the Second point above, a missing language file should not "exit" with the error. It should simply "echo" the error so that the site still works. It would be much better to see "text_name" instead of just killing the site.

All the above is iMO

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by pixellegolas » Sun Feb 21, 2010 7:05 am

Well the language pack was for 1.4 and I installed 1.4.

But if I have english installed how do I have it turned off in the front-end? Just putting it to disabled?

Newbie

Posts

Joined
Sun Feb 21, 2010 12:51 am

Post by Qphoria » Sun Feb 21, 2010 9:09 am

Yes. set to disabled and it won't show in the front.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by pixellegolas » Sun Feb 21, 2010 10:04 am

thanks, but seems I need to copy over the intall again because I have no idea where to change this in the .php files

Newbie

Posts

Joined
Sun Feb 21, 2010 12:51 am
Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 62 guests