Ricsca Posted October 30, 2021 Posted October 30, 2021 Set Language If I try to install the language from your marketplace it makes me select only the English language and gives me an error ...
Solution Jim M Posted October 31, 2021 Solution Posted October 31, 2021 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.
Ricsca Posted November 2, 2021 Author Posted November 2, 2021 My hostr said that the Italian language is installed. In fact wordpress fits me well in Italian.
Marc Posted November 2, 2021 Posted November 2, 2021 Unfortunetely the software cannot detect it on your server. Have you tried entering the full it_IT.UTF-8 as shown?
Marc Posted November 2, 2021 Posted November 2, 2021 You would need to go back to your hosting company in this case unfortunately.
Ricsca Posted November 2, 2021 Author Posted November 2, 2021 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: ,
Marc Posted November 2, 2021 Posted November 2, 2021 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
Ricsca Posted November 3, 2021 Author Posted November 3, 2021 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.
Ricsca Posted November 4, 2021 Author Posted November 4, 2021 I also asked the official DirecatAdmin forum and they also told me it depends on ipb ... https://forum.directadmin.com/threads/set-language.64893/
Stuart Silvester Posted November 4, 2021 Posted November 4, 2021 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.
Ricsca Posted November 5, 2021 Author Posted November 5, 2021 (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: , Edited November 5, 2021 by Ricsca
Marc Posted November 5, 2021 Posted November 5, 2021 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
Ricsca Posted November 5, 2021 Author Posted November 5, 2021 if the server is in Italian and ipb does not find Italian, the problem is with ipb ...
Marc Posted November 5, 2021 Posted November 5, 2021 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.
Recommended Posts