Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 1998 02:18:01 -0800 (PST)
From:      jose@we.lc.ehu.es
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   conf/5409: the spanish locale and others don't have the LC_TIME file
Message-ID:  <199801021018.CAA22954@hub.freebsd.org>
Resent-Message-ID: <199801021020.CAA23059@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5409
>Category:       conf
>Synopsis:       the spanish locale and others don't have the LC_TIME file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan  2 02:20:00 PST 1998
>Last-Modified:
>Originator:     Jose M. Alcaide
>Organization:
Universidad del Pais Vasco - Dept. de Electricidad y Electronica
>Release:        2.2.5-RELEASE
>Environment:
FreeBSD tiburon.we.lc.ehu.es 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Wed Oct 29 15:20:18 CET 1997     root@tiburon.we.lc.ehu.es:/usr/src/sys/compile/TIBURON  i386

>Description:
In some locale directories, such as /usr/share/locale/es_ES.ISO_8859-1,
the file LC_TIME is missing. This causes the call setlocale(LC_ALL, "")
to fail, which affects some applications: vi (nvi) does not display
correctly ISO extended characters; xterm displays a warning on startup,
etc.

>How-To-Repeat:
cd /usr/share/locale/es_ES.ISO_8859-1; ls   :-)

>Fix:
Obviously an LC_TIME file has to be created for each locale, and
this work requires knowledge of the languages involved. I have
created the LC_TIME file for the spanish locale es_ES.ISO_8859-1,
which should be included in /usr/src/share/timedef/data; the Makefile
in this directory should be modified acordingly, of course:

------ BEGIN /usr/src/share/timedef/data/es_ES.ISO_8859-1.src---------
# $Id: es_ES.ISO_8859-1.src,v 1.1 1998/01/01 17:30:21 jmas Exp $
#
# WARNING: spaces may be essential at the end of lines
# WARNING: empty lines are essential too
#
# Short months names
#
ene
feb
mar
abr
may
jun
jul
ago
sep
oct
nov
dic
#
# Long months names
#
enero
febrero
marzo
abril
mayo
junio
julio
agosto
septiembre
octubre
noviembre
diciembre
#
# Short weekdays names
#
Dom
Lun
Mar
Mié
Jue
Vie
Sáb
#
# Long weekdays names
#
Domingo
Lunes
Martes
Miércoles
Jueves
Viernes
Sábado
#
# X_fmt
#
%H:%M:%S
#
# x_fmt
#
%d/%m/%y
#
# c_fmt
#
%a %e %b %X %Y
#
# am
#
AM
#
# pm
#
PM
#
# date_fmt
#
%A, %e de %B de %Y %X %Z
------------------------------- END ----------------------------
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801021018.CAA22954>