Home>>Forum>>General>>General discussion>> New Post
  • Internationalization
  • 2015-10-27 20:03:39
i installed inoerp 0.3.2 on a ubuntu LTS 14.04.3 server with apache 2.4 +php 5.5 + mysql 5.6. The installation was fine without any error. The problem which i am facing is Arabic language support. As Admin user, i select Arabic in the login window, i am only able get the English version. i create one user in the inoerp and set the language Arabic in his preference, the user also only getting English version.

Note: while installing inoerp, the installation window shows gettext module installed.
Pls help me to resolve this issue
  • Anonymous
  • 2015-10-27 22:22:17

Are you using the released version 0.3.2 or the master branch from github ?

Can you disable gettext and try again. This has worked for me in widnowsReply
  • Anonymous
  • 2015-10-28 06:01:04
I am using released version and i also tried the master branch from github. i tried this in windows also, but it didn't work for me. i already tried disabling gettext( i saw one post from nishitdas) while am using wamp server.
one this i realized is in the inoerp/Locale/ar_SA/LC_MESSAGES directory i didnt find the messages.mo file. is it normal ?
if it work for you in windows, then can you tell me the details like i used windows7 enterprise edition with arabic locale and keyboard support+wamp server 2.5 64bit+inoerp version 0.3.2

thanks in advanceReply

You should have messages.mo file inside \locale\ar_SA\LC_MESSAGES
messages.mo file contains all the translation
In fact you should have messages.po file . As you need this file to add/modify existing transaltionsReply
  • Anonymous
  • 2015-10-28 07:03:17

you mean i should create the messages.mo file using msgfmt command and place it in the same location of messages.po ?
so the messages.mo file is no creating during the installation of inoerp ?.

ThanksReply
You should use the file @
https://github.com/inoerp/inoERP/tree/master/inoerp/locale/ar_SA/LC_MESSAGESReply
Just realized that these files were missing in gitHUB because of the .ignore settings.
Just committed after changing the file.Reply
  • Anonymous
  • 2015-10-28 08:57:50
Thanks NishitD and Mehul
I just copy those files to the specified location but unfortunately not working for me. Anyway i just download the new master branch from Github, let me install a new installation.
prior to the new install i have some doubts
pls clarify me
1 As i mentioned before, i am using ubuntu 14.04 its coming with mysql 5,5 and i upgraded to 5.6. i would like to change the mysql to mariadb but unfortunately mariadb5.6 not available. is it ok to use mariadb 10.x ?
2 while am creating database for the inoerp installation , i just executed the command "create database inoerp_install;" should i give any collation or character set to work arabic
3 should i install arabic locale and keyboard in the inoerp server system ?
4 The gettext extension is coming with the inoerp or should i install from the ubuntu repositary ?
Thanks is advance
Reply
1 As i mentioned before, i am using ubuntu 14.04 its coming with mysql 5,5 and i upgraded to 5.6. i would like to change the mysql to mariadb but unfortunately mariadb5.6 not available. is it ok to use mariadb 10.x ?

Comment : mariadb 10.x should be fine

2 while am creating database for the inoerp installation , i just executed the command "create database inoerp_install;" should i give any collation or character set to work arabic
Comment : Not required as the data are stored in English. Where ever required the installation will make the necessary utf settings

3 should i install arabic locale and keyboard in the inoerp server system ?
Comment : Not required

4 The gettext extension is coming with the inoerp or should i install from the ubuntu repositary ?
Comment : inoerp tries to use OS gettext wherever available if not available it uses the internal gettext.
This is more useful for windows based OS that doesnt support gettext

Take a note that language translation is not complete. You might end up spend few hours if you want to use it in production instance. You can check the demo site with Arabic translation to see if what you are looking for is available or not.

http://inoerp.org/extensions/user/user_login.phpReply
  • Anonymous
  • 2015-10-29 12:00:41
After executing the command "locale-gen ar_SA" in Ubuntu, Arabic translation start to work

Once again thanks for your supportReply
You are always welcome
Good finally it workedReply
 Per Page
Comment is disabled

All inoERP code is Copyright by the Original Authors as mentioned on COPYRIGHT.txt file.
inoERP is an open Source software; you can redistribute it and/or modify it under the terms of the Mozilla Public License Version 2.0