Post by Fresher » Sat Mar 15, 2008 7:16 am

I added new language in admin menu (lithuanian). After that I in my shop page choose flag to change the language. everything seems to be working but then i return to admin menu there is an error:
Error: Language file /home/vol5/webhosting4free.info/web4f_1677059/htdocs/opencart_v0.7.7/upload/admin/language/lithuanian/lithuanian.php not found!

hmm..whats that? :/
Last edited by Fresher on Mon Mar 24, 2008 10:10 pm, edited 1 time in total.

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by bruce » Sat Mar 15, 2008 8:43 am

Unfortunately, the language setting made at the customer side applies also to the admin.

A quick way to avoid this without changing code is to make a copy of the english folder in the admin language folder and name the new folder lithuanian. You will also have to rename english.php to lithuanian.php in the new admin lithuanian folder. Now your admin will be english regardless of what happens on the customer side.

You can repeat this process for all of the languages that you have installed.

If you had wanted a lithuanian admin then you can do what I suggested above and do the translations in the new lithuanian admin language folder.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Fresher » Sat Mar 15, 2008 7:36 pm

thanks!

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by Fresher » Mon Mar 24, 2008 10:09 pm

I found another error  :o after coosing lithuanian language in shop page, the in the admin page the Extension section, Order page are empty... but then choose enlish the information in these are shown... :/ whats the problem? ;/ so now when i want to see orders i must change the language in the site ;/

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by bruce » Tue Mar 25, 2008 12:42 pm

Can you post the url where the problem occurs and a screen shot of problem page in lithuanian and in english.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Fresher » Tue Mar 25, 2008 7:53 pm

1 - chose LT language, 2 - english. at first there is no customer order in second (in english) order is shown. ;/

Attachments

???
2.JPG
???
1.JPG
Last edited by Fresher on Tue Mar 25, 2008 7:55 pm, edited 1 time in total.

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by bruce » Thu Mar 27, 2008 9:50 am

Have a look in the order_status table. Make sure (manual editing unfortunately) that there is a row for every order status, for every language_id and most importantly, that the order_status_id is the same for each order status.

I have attached a before and after screen shot of me applying this fix.

Note also, that I have quickly checked the admin user interface for this and it appears not to work.

Active Member

Posts

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

Users browsing this forum: No registered users and 2 guests