News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[SOLVED] how to set admin Language in VM2

Started by micgo, September 01, 2012, 07:17:30 AM

Previous topic - Next topic

micgo

Hello. i m using j2.5.6 vm2.0.10. i m trying to add chinese to VM2 backend(admin site, not in Joomla. but in VM 2) i downloaded the chinese package and installed zh-tw. Multilingual shop dose show chinese and english, Joomla dose disply chinese. but the backend of the shop still disply english only. anyone have a idea ? thx much

jjk

Probably an error in the backend language file .../administrator/language/zh-TW.com_virtuemart.ini. Try to enable 'Debug Language' in Joomla Configuration - System. Then go to the VM2 backend and look at the bottom of your page if the zh-TW VM2 language files are loaded and check if it reports an error in one or several of the line.
Certain errors prevent the language file from being loaded.

I noticed that there are still a number of untranslated lines in the zh-TW file, which are commented out in addition to the comment lines in the en-GB file. Perhaps you can help to translate them into Chinese, too.
https://www.transifex.com/projects/p/virtuemart/
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

micgo

Hello jjk !

thx alot for your reply. i think u just helped me to nail down the problem, but i think i still need a little more help. i do not see there is any zh-TW.com_virtuemart.* files inside /htdocs/store/language/zh-CN folder. i already tired to uninstall and resinstall the package. didn't help at all.

i took a deeper look and unzipped the com_virtuemart_zh-TW.zip. inside the package there is 2 more zip. admin_zh-TW.zip and site_zh-TW.zip. my guess admin_zh-TW.zip will go to /htdocs/store/administrator/language/zh-TW and site_zh-TW.zip will go inside /htdocs/store/language/zh-TW ?

as soon as i can get this going i guess i an try my best to take a look untranslated lines

thx again

jjk

#3
The easiest way to install the chinese language files probably is to download them from this location: http://gruz.org.ua/virtuemart-language-files.html
Just download the zh_tw_virtuemart_language_pack.zip and install it like any other Joomla extension using the Joomla extension manager.

Each language has it's own folder. So, if you want to install both zh-CN and zh-TW languages, the zh-CN backend language file have to be in the ...\administrator\language\zh-CN folder and the zh-TW backend language files have to be in the ...\administrator\language\zh-TW folder. The same applies to the frontend language files. If your site will be multilingual, make shure you set your Joomla site (frontend) language to your primary language, before installing the Virtuemart language files. Otherwise your primary language files might end up in the wrong language database table.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

micgo

jjk thx alot for pionting me to the ini files. i did it the way i said. unzipped the

site_zh-TW.zip to ..//htdocs/store/administrator/language/zh-TW

site_zh-TW.zip to ..//htdocs/store/language/zh-TW

everything is working now !

wonder y the package didnt get installed to the folders. i guess i will try http://gruz.org.ua/virtuemart-language-files.html
next time

i will look deeper in to the translateion to see if i can get some en => CN and TW. shouldn't be too hard =D

again thx alot for all your help