webERP Forum
how to change language to arabic ? - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: How To ? (http://www.weberp.org/forum/forumdisplay.php?fid=6)
+--- Thread: how to change language to arabic ? (/showthread.php?tid=314)



how to change language to arabic ? - a7md - 08-28-2012

hey all ..

i started translate the script to arabic . by editing " /webERP4.08.4/locale/ar_EG.utf8/LC_MESSAGES/messages.po "

but when upload file to server and browse the erp don't see any change !!
although chose " Arabic Egyptian " from Demonstration user

where's the problem ?


RE: how to change language to arabic ? - phil - 08-28-2012

You need to create a new messages.mo file using the gettext utility msgfmt. If you use the poedit software to edit the messages.po then this utility can create the messages.mo file too - if you are not comfy with the command line:

#cd webERP4.08.4/locale/ar_EG.utf8/LC_MESSAGES
#msgfmt messages.po



RE: how to change language to arabic ? - a7md - 08-28-2012

by terminal
" messages.po:1215:16: invalid control sequence
msgfmt: found 1 fatal error "

how to make it by poedit ?? from whare ? ^_^


RE: how to change language to arabic ? - phil - 08-28-2012

Well go into messages.po and have a look at line 1215 - fix that line then try again.
I'd suggest google poedit will give you what you need.


RE: how to change language to arabic ? - a7md - 08-28-2012

thanx man ^_^