If you do not know what Opencar Tool is, see here http://forum.opencart.com/viewtopic.php?t=25463
The OpenCart Tool supports multi languages now, if you want to add a new language, just follow below steps, take German as an example
1. Create a new folder named “de” in folder OpenCartTool\languages
2. Copy the opencarttool.po to the new folder OpenCartTool\languages\de
3. Use Poedit to do the translation, save it you will have a file name OpenCartTool.mo in that folder, which will be used by opencart.exe
4. Set your environment variable LANG to “de” and restart the opencarttool.exe, see here to learn how to setup an environmental variable : http://www.chem.gla.ac.uk/~louis/software/faq/q1.html
5. Do you see a new face?
let me know if it works.
Poedit can be downloaded from here, http://www.poedit.net/
Thanks
Attachments
en.JPG (27.46 KiB) Viewed 1418 times
en.JPG (27.69 KiB) Viewed 1418 times
Professional OpenCart Customization And More
I think that "changing environment variables" (STEP_4) is a really bad idea for getting multilanguage support.
Can you add a "Language" setting (select-input) based on a directories and files under languages directory?
Can you add a "Language" setting (select-input) based on a directories and files under languages directory?
Русское коммьюнити разработчиков OpenCart - myopencart.ru
some useful mods:
[Released] Orders and Comments AT-A-GLANCE, [Released] Prof. Invoice and Packingslip, [Released] Recently viewed
My commercial modules: [W]ebme Compare Products, [W]ebme Bought With This
Who is online
Users browsing this forum: No registered users and 6 guests