Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
webERP 4.12.3 User language problem
06-07-2015, 04:34 PM,
#1
webERP 4.12.3 User language problem
Hi All;

I am setting up a demo for a client that requires to have some users using non-English UI language (namely Italian). I have set up a user to do this for demo. On login the UI is in Italian however soon I click on something it reverts to English and stays there. At first I thought it was Chrome doing auto language translate but browsing to an Italian site (corriere.it) the site remained in Italian (ie was not auto translated).

Anyone faced similar issues? Any solutions or recommendations appreciated.

Regards
Ian
Reply
06-07-2015, 06:44 PM, (This post was last modified: 06-07-2015, 06:45 PM by TimSchofield.)
#2
RE: webERP 4.12.3 User language problem
Probably a silly question but best to check the obvious first.

Is the Italian locale installed on the server?

Is it a windows or Linux server?

Tim
Reply
06-07-2015, 07:41 PM,
#3
RE: webERP 4.12.3 User language problem
Hi Tim

It is Linux (Ubuntu). i do not think it is a matter of locale as Language is set in User Management.

Thanks
Ian

Reply
06-07-2015, 07:46 PM,
#4
RE: webERP 4.12.3 User language problem
Hi Ian, my experience is that the locale does need to be installed for the translations to work. If it_IT.utf8 isn't installed it is worth a try I think.

Thanks
Tim
Reply
06-07-2015, 07:48 PM,
#5
RE: webERP 4.12.3 User language problem
Will check.

Thanks Tim
Reply
06-07-2015, 07:51 PM,
#6
RE: webERP 4.12.3 User language problem
Oh and also I have found for reasons that I cannot explain that after installing the locale it still doesn't work until apache is restarted. I would guess this has something to do with PHP but I can't explain it, just that I have found that it works on a number of installations over the years. Smarter people than me may be able to explain the technical details.

Tim
Reply
06-08-2015, 11:25 PM,
#7
RE: webERP 4.12.3 User language problem
Adding locale it_it and it_IT.utf8 worked. Thanks.

I am listing how to do it to speed up resolution if someone else encounters problem.

Note: I only tried this on Ubuntu 14.04LTS.

locale -a <- lists all locales on machine
sudo locale-gen it_IT
sudo locale-gen it_IT.utf-8


After this is done restart Apache.

Thanks Tim.

Ian
Reply
06-08-2015, 11:33 PM,
#8
RE: webERP 4.12.3 User language problem
Glad that it worked for you Ian.

Strange thing is it shouldn't require the locale installed but as you have seen it does. I have been intending for years to go back and look why this is but never had the time. Maybe one day I will get that time :-)

Tim
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)