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? :/
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.
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.
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.
I found another error
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 ;/

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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests