Jump to content

Error set languace


Go to solution Solved by Jim M,

Recommended Posts

  • Solution
Posted

If you are not seeing your locale present, please contact your hosting provider to install it on your server. I'm afraid, locale's are from your server, not the software.

Posted

My server..

[root@mld2 ~]# locale
LANG=it_IT.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=
[root@mld2 ~]# localectl status
   System Locale: LANG=it_IT.UTF-8
       VC Keymap: it2
      X11 Layout: it,us
     X11 Variant: ,

 

Posted

While I understand what you are showing there, it is unable to be detected at PHP level. This isnt something that can be corrected by the software itself

Posted

My hoster tells me that the aerver is in Italian and as a confirmation he gave me those values.
WordPress and PrestaShop I can install it correctly in Italian.
I have the problem only with ipb that does not find the Italian language.

Posted

They also say that it can be something at the OS level, which I would also agree with.

You can see the available locales on your server with `locale -a`

To test whether a locale is supported, we try setting the locale (via setlocale( LC_ALL, $locale ); ) the various possible names of the locale (some systems have .UTF-8 or .UTF8 in the locale name). If this fails (at PHP/OS level, i.e. the locale isn't present or working), it won't be available as an option on the list, or usable as a custom definition.

Posted (edited)

The Italian language is installed ...

[root@mld2 ~]# locale
LANG=it_IT.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=
[root@mld2 ~]# localectl status
   System Locale: LANG=it_IT.UTF-8
       VC Keymap: it2
      X11 Layout: it,us
     X11 Variant: ,

 

server.jpeg.00cb82285f35b65c125e74b50777930a.jpeg

 

Edited by Ricsca
Posted

There isnt really much else we can add to the conversation here unfortunately. The issue is that your system is not recognising that locale when entered

Posted
5 minutes ago, Ricsca said:

if the server is in Italian and ipb does not find Italian, the problem is with ipb ...

Unfortunately, while I completely understand the frustration, we have many many users using many different languages and locales around the world. If your system is not allowing us to set this, we cannot set it. See the above explaination from my colleague. 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...