This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Proposed changes to ro_RO locale (Debian bug #119528)
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: Ionel Mugurel Ciobica <tgakic at chem dot tue dot nl>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 15 Jun 2003 14:57:46 +0200
- Subject: Proposed changes to ro_RO locale (Debian bug #119528)
Hello again. I've noticed your proposed changes to the ro_RO locale
in glibc, available from <URL:http://bugs.debian.org/119528>. The
format of the locale files are documented in "ISO/IEC TR14652:2002",
available from <URL:http://std.dkuug.dk/jtc1/sc22/wg20/>. Your
suggested locale contains several changes compared to the current
version. Do you have references to confirm that your suggested
changes are correct?
I include a diff to the current CVS version of locales/ro_RO. Here
are some comments and questions regarding your changes.
- Why do you want to use space U0020 as the thousand separator?
Isn't non-break space U00A0 better, to avoid line break in the
middle of a number?
- Why did you change '2000' to '2001' in the category entries in the
LC_IDENTIFICATION section?
- Can you provide examples on the correct sorting order, number
format (normal and monetary)? I would like to add regression test
cases.
I copy this to the glibc development list.
Index: ro_RO
===================================================================
RCS file: /cvs/glibc/libc/localedata/locales/ro_RO,v
retrieving revision 1.13
diff -u -3 -p -u -r1.13 ro_RO
--- ro_RO 3 Aug 2001 08:40:30 -0000 1.13
+++ ro_RO 15 Jun 2003 12:44:23 -0000
@@ -2,29 +2,19 @@ comment_char %
escape_char /
%
% Romanian Language Locale for Romania
-% Source: RAP
-% Address: Sankt Jo//rgens Alle 8
-% DK-1615 Ko//benhavn V, Danmark
-% Contact: Keld Simonsen
-% Email: Keld.Simonsen@dkuug.dk
-% Tel: +45 - 31226543
-% Fax: +45 - 33256543
% Language: ro
% Territory: RO
-% Revision: 4.3
-% Date: 1996-10-15
-% Application: general
-% Users: general
-% Charset: ISO-8859-2
+% Ionel Mugurel Ciobîcã, © 2001
+% Charset: ISO-8859-16
% Distribution and use is free, also
% for commercial purposes.
LC_IDENTIFICATION
title "Romanian locale for Romania"
source "RAP"
-address "Sankt Jorgens Alle 8, DK-1615 Kobenhavn V, Danmark"
+address "TUE, SKA, POBOX 513, 5600MB Eindhoven, The Netherlands"
contact ""
-email "bug-glibc@gnu.org"
+email "I.M.Ciobica@TUe.nl"
tel ""
fax ""
language "Romanian"
@@ -32,17 +22,17 @@ territory "Romania"
revision "1.0"
date "2000-06-29"
%
-category "ro_RO:2000";LC_IDENTIFICATION
-category "ro_RO:2000";LC_CTYPE
-category "ro_RO:2000";LC_COLLATE
-category "ro_RO:2000";LC_TIME
-category "ro_RO:2000";LC_NUMERIC
-category "ro_RO:2000";LC_MONETARY
-category "ro_RO:2000";LC_MESSAGES
-category "ro_RO:2000";LC_PAPER
-category "ro_RO:2000";LC_NAME
-category "ro_RO:2000";LC_ADDRESS
-category "ro_RO:2000";LC_TELEPHONE
+category "ro_RO:2001";LC_IDENTIFICATION
+category "ro_RO:2001";LC_CTYPE
+category "ro_RO:2001";LC_COLLATE
+category "ro_RO:2001";LC_TIME
+category "ro_RO:2001";LC_NUMERIC
+category "ro_RO:2001";LC_MONETARY
+category "ro_RO:2001";LC_MESSAGES
+category "ro_RO:2001";LC_PAPER
+category "ro_RO:2001";LC_NAME
+category "ro_RO:2001";LC_ADDRESS
+category "ro_RO:2001";LC_TELEPHONE
END LC_IDENTIFICATION
@@ -109,23 +99,19 @@ copy "i18n"
translit_start
include "translit_combining";""
-% if t/scomma is not available, try first t/scedilla
-<U0218> "<U015E>";"<U0053>"
-<U0219> "<U015F>";"<U0073>"
-<U021A> "<U0162>";"<U0054>"
-<U021B> "<U0163>";"<U0074>"
-
-% if t/scedilla is not available, try first t/scomma
-<U015E> "<U0218>";"<U0053>"
-<U015F> "<U0219>";"<U0073>"
-<U0162> "<U021A>";"<U0054>"
-<U0163> "<U021B>";"<U0074>"
+% if t/scomma is not available, try t/s
+% if t/scedilla is not available, don't try anything
+% since scedilla belong to Turkish and tcedilla to noone
+<U0218> "<U0053>"
+<U0219> "<U0073>"
+<U021A> "<U0054>"
+<U021B> "<U0074>"
translit_end
END LC_CTYPE
LC_MESSAGES
-yesexpr "<U005E><U005B><U0044><U0064><U0059><U0079><U005D><U002E><U002A>"
+yesexpr "<U005E><U005B><U0044><U0064><U005D><U002E><U002A>"
noexpr "<U005E><U005B><U006E><U004E><U005D><U002E><U002A>"
END LC_MESSAGES
@@ -133,15 +119,15 @@ LC_MONETARY
int_curr_symbol "<U0052><U004F><U004C><U0020>"
currency_symbol "<U004C><U0065><U0069>"
mon_decimal_point "<U002C>"
-mon_thousands_sep "<U002E>"
+mon_thousands_sep "<U0020>"
mon_grouping 3;3
positive_sign ""
negative_sign "<U002D>"
int_frac_digits 2
frac_digits 2
-p_cs_precedes 1
+p_cs_precedes 0
p_sep_by_space 1
-n_cs_precedes 1
+n_cs_precedes 0
n_sep_by_space 1
p_sign_posn 1
n_sign_posn 1
@@ -149,46 +135,46 @@ END LC_MONETARY
LC_NUMERIC
decimal_point "<U002C>"
-thousands_sep ""
+thousands_sep "<U0020>"
grouping 0;0
END LC_NUMERIC
LC_TIME
-abday "<U0044><U0075>";"<U004C><U0075>";"<U004D><U0061>";"<U004D><U0069>";/
- "<U004A><U006F>";"<U0056><U0069>";"<U0053><U00EE>"
-day "<U0044><U0075><U006D><U0069><U006E><U0069><U0063><U0102>";/
- "<U004C><U0075><U006E><U0069>";/
- "<U004D><U0061><U0072><U0163><U0069>";/
- "<U004D><U0069><U0065><U0072><U0063><U0075><U0072><U0069>";/
- "<U004A><U006F><U0069>";/
- "<U0056><U0069><U006E><U0065><U0072><U0069>";/
- "<U0053><U00EE><U006D><U0062><U0102><U0074><U0102>"
+abday "<U0020><U0044>";"<U0020><U004C>";"<U004D><U0061>";"<U004D><U0069>";/
+ "<U0020><U004A>";"<U0020><U0056>";"<U0020><U0053>"
+day "<U0064><U0075><U006D><U0069><U006E><U0069><U0063><U0103>";/
+ "<U006C><U0075><U006E><U0069>";/
+ "<U006D><U0061><U0072><U021B><U0069>";/
+ "<U006D><U0069><U0065><U0072><U0063><U0075><U0072><U0069>";/
+ "<U006A><U006F><U0069>";/
+ "<U0076><U0069><U006E><U0065><U0072><U0069>";/
+ "<U0073><U00EE><U006D><U0062><U0103><U0074><U0103>"
abmon "<U0069><U0061><U006E>";"<U0066><U0065><U0062>";/
"<U006D><U0061><U0072>";"<U0061><U0070><U0072>";/
"<U006D><U0061><U0069>";"<U0069><U0075><U006E>";/
"<U0069><U0075><U006C>";"<U0061><U0075><U0067>";/
"<U0073><U0065><U0070>";"<U006F><U0063><U0074>";/
- "<U006E><U006F><U0076>";"<U0064><U0065><U0063>"
-mon "<U0049><U0061><U006E><U0075><U0061><U0072><U0069><U0065>";/
- "<U0046><U0065><U0062><U0072><U0075><U0061><U0072><U0069><U0065>";/
- "<U004D><U0061><U0072><U0074><U0069><U0065>";/
- "<U0041><U0070><U0072><U0069><U006C><U0069><U0065>";/
- "<U004D><U0061><U0069>";/
- "<U0049><U0075><U006E><U0069><U0065>";/
- "<U0049><U0075><U006C><U0069><U0065>";/
- "<U0041><U0075><U0067><U0075><U0073><U0074>";/
- "<U0053><U0065><U0070><U0074><U0065><U006D><U0062><U0072><U0069><U0065>";/
- "<U004F><U0063><U0074><U006F><U006D><U0062><U0072><U0069><U0065>";/
- "<U004E><U006F><U0069><U0065><U006D><U0062><U0072><U0069><U0065>";/
- "<U0044><U0065><U0063><U0065><U006D><U0062><U0072><U0069><U0065>"
-d_t_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
+ "<U006E><U006F><U0069>";"<U0064><U0065><U0063>"
+mon "<U0069><U0061><U006E><U0075><U0061><U0072><U0069><U0065>";/
+ "<U0066><U0065><U0062><U0072><U0075><U0061><U0072><U0069><U0065>";/
+ "<U006D><U0061><U0072><U0074><U0069><U0065>";/
+ "<U0061><U0070><U0072><U0069><U006C><U0069><U0065>";/
+ "<U006D><U0061><U0069>";/
+ "<U0069><U0075><U006E><U0069><U0065>";/
+ "<U0069><U0075><U006C><U0069><U0065>";/
+ "<U0061><U0075><U0067><U0075><U0073><U0074>";/
+ "<U0073><U0065><U0070><U0074><U0065><U006D><U0062><U0072><U0069><U0065>";/
+ "<U006F><U0063><U0074><U006F><U006D><U0062><U0072><U0069><U0065>";/
+ "<U006E><U006F><U0069><U0065><U006D><U0062><U0072><U0069><U0065>";/
+ "<U0064><U0065><U0063><U0065><U006D><U0062><U0072><U0069><U0065>"
+d_t_fmt "<U0025><U0041><U0020><U0025><U0064><U0020><U0025><U0042><U0020><U0025><U0059><U0020><U0025><U0054>"
d_fmt "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
t_fmt "<U0025><U0054>"
am_pm "";""
t_fmt_ampm ""
-date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
-<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
-<U0025><U005A><U0020><U0025><U0059>"
+date_fmt "<U0025><U0041><U002C><U0020><U0025><U0065><U0020><U0025><U0042><U0020>/
+<U0025><U0059><U002C><U0020><U0025><U0048><U0068><U0020><U0025><U004D><U0027><U0025><U0053><U0027><U0027>"
+% <U0025><U0059><U002C><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
END LC_TIME
LC_PAPER
@@ -210,14 +196,23 @@ measurement 1
END LC_MEASUREMENT
LC_NAME
-name_fmt "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
-<U0025><U006D><U0025><U0074><U0025><U0066>"
+name_fmt "<U0025><U0066><U0025><U0067><U0025>"
+name_miss "<U0064><U006F><U006D><U006E><U0069><U0219><U006F><U0061><U0072><U0103>"
+name_mr "<U0064><U006F><U006D><U006E><U0075><U006C><U0065>"
+name_mrs "<U0064><U006F><U0061><U006D><U006E><U0103>"
+name_ms "<U0064><U006F><U0061><U006D><U006E><U0103>"
END LC_NAME
LC_ADDRESS
-postal_fmt "<U0025><U0066><U0025><U004E><U0025><U0061><U0025><U004E>/
-<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
-<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
-<U004E><U0025><U0025><U007A><U0020><U0025><U0054><U0025>/
-<U004E><U0025><U0063><U0025><U004E>"
+postal_fmt "<U0025><U0066><U0025><U004E>/
+<U0025><U0064><U0025><U004E><U0025><U0073><U0025>/
+<U0068><U0025><U004E><U0025><U0062><U002C><U0025>/
+<U0065><U002C><U0020><U0025><U0072><U0025><U004E>/
+<U0025><U0054><U0025><U004E><U0025><U0053><U0025>/
+<U004E><U0025><U007A><U0025><U004E><U0025><U0043>/
+<U0025><U004E>"
+country_name "<U0052><U006F><U006D><U00E2><U006E><U0069><U0061>"
+country_post "<U0052><U006F>"
+lang_name "<U0052><U006F><U006D><U00E2><U006E><U0065><U0219><U0074><U0065>"
+lang_ab "<U0072><U006F>"
END LC_ADDRESS