Unfortunately it can not be fixed with aliases. locale.alias in /usr/share/X11/locale
does not make any difference, It still fails. But more than that Debian (and Ubuntu) have
/etc/locale.alias which contains many equivalent writings of the locales.
For example, it does contains
en_US.utf8                    en_US.UTF-8
EN_US.UTF-8                    en_US.UTF-8
and similarly
it_IT.88591                    it_IT.ISO8859-1
and many other.

but make World does not seem to care. It fails.

Moreover I do not think it is this the problem Because on Ubuntu14.04 in a system with CDE installed I get
[atsol@melissa ~]$ locale -a | grep en_US
en_US.utf8
[atsol@melissa ~]$ locale -a | grep it_IT
it_IT
it_IT.iso88591
[atsol@melissa ~]$

And on Debian testing I get the same:
root@convex:/etc# locale -a | grep en_US
en_US.utf8
root@convex:/etc# locale -a | grep it_IT
it_IT
it_IT.iso88591
root@convex:/etc#

So it does not seem to be a locale problem. Any ideas?

Antonis.







On 11/8/20 9:00 PM, Edmond Orignac wrote:


Le 08/11/2020 à 19:26, Marcin Cieslak a écrit :
On Sun, 8 Nov 2020, Antonis Tsolomitis wrote:




Indeed. I verify that this difference is present:

[atsol@convex ~]$ locale -a |grep -i iso8859
de_DE.iso88591
es_ES.iso88591
fr_FR.iso88591
it_IT.iso88591
[atsol@convex ~]$ locale -a |grep -i UTF
ar_EG.utf8
C.UTF-8
el_GR.utf8
en_US.utf8
[atsol@convex ~]$


It is strange that for C it gives C.UTF-8 but for the rest it gives ....utf8.

So is there a way to setup aliases or fix the CDE source?

This question is something for the operating system builders, not for CDE...

My Xorg on FreeBSD has a /usr/local/lib/X11/locale/locale.alias file where
I can set up the differences for the X server only.

On Linux Ubuntu (and probably Debian) that file is /usr/share/X11/locale/locale.alias

One would need to add the lines:

it_IT.ISO8859-1     it_IT.iso88591

it_IT.ISO8859-1:     it_IT.iso88591

there to alias the italian locale to the name expected by CDE.




I don't know how to do this on PureOS or Arch.

My system has the locales needed built-in:

locale -a |grep it_IT
it_IT.ISO8859-1
it_IT.ISO8859-15
it_IT.UTF-8

saper


_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel



_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to