On 2/22/06, Denis Barbier <[EMAIL PROTECTED]> wrote: > > I have added comments that would make it clear for everybody about the > > situation of the ro_RO locale and why it has been changed. > > I have made a reference to the link above and explained the change (I > > have modified the currency reference definitions in > > locale/iso-4217.def so no error would be generated) > > Hi Eddy, > > Your comments in ro_RO are very helpful, but they must not appear within a > list, like in 'day'.
I saw that when I tested the changes last night ;-) > Eveything looks fine, I will commit your patch against the locales package. > The RON currency code has already been added and will be recognized by Note for myself: Then I guess the change was done by adding RON, not by replacing ROL (as I did initially) > > All is fine and dandy on my side except the LC_ADDRESS field, where I > > haven't found any refference to a method to test the postal_fmt. > > IMO you do not have to worry much about this field, I do not know of any > application that uses it. Nonetheless I have fixed and tested this (as much as I could - see attachments and below). > One last question though: what is the first day to be displayed by a > calendar in Romania? You may set first_weekday in LC_TIME accordingly > (1=Sunday ... 7=Saturday) Monday > You may also define > lang_term "<U0072><U006F><U006E>" > lang_lib "<U0072><U0075><U006D>" lang_term "ron" ? lang_lib "rud" ? Are you sure? What are the meanings of these items? > in LC_ADDRESS. Note: the attached patch is monolitic and replaces the ROL definition with a RON definition (I didn't knew/realised that there should be an addition, not a replace) so you will have to split this again. Below is a set of comparative tests (see also attachements): ============================================================= Note: Currency was fixed, but on the test system the definition for the Romanian New Leu (RON) was missing. [EMAIL PROTECTED] testzone $/\1/g' | tr '\n' ' ' ` yesexpr="^[DdYy].*" noexpr="^[nN].*" int_curr_symbol="ROL " currency_symbol="Lei" mon_decimal_point="," mon_thousands_sep="." negative_sign="-" decimal_point="," thousands_sep="." abday="Du;Lu;Ma;Mi;Jo;Vi;Sb" day="duminică;luni;marţi;miercuri;joi;vineri;sâmbătă" abmon="ian;feb;mar;apr;mai;iun;iul;aug;sep;oct;nov;dec" mon="ianuarie;februarie;martie;aprilie;mai;iunie;iulie;august;septembrie;octombrie;noiembrie;decembrie" d_t_fmt="%a %d %b %Y %T %z" d_fmt="%d.%m.%Y" t_fmt="%T" date_fmt="%A %-e %B %Y, %H:%M:%S %z" tel_int_fmt="+%c %a %l" int_prefix="40" name_fmt="%d%t%s%t%f%t%g%t%m" name_mr="Dl." name_mrs="D-na." name_miss="D-ra." postal_fmt="%f%N%a%d%N%s%t%h%N%b%t%e%t%r%N%z%t%T%N%S%t%c%N" country_name="România" country_ab2="RO" country_ab3="ROU" country_car="RO" lang_name="română" lang_ab="ro" [EMAIL PROTECTED] testzone $ date +%x 22.02.2006 [EMAIL PROTECTED] testzone $ date miercuri 22 februarie 2006, 03:28:46 +0200 [EMAIL PROTECTED] testzone $ date -d "20060202 23:24:25" joi 2 februarie 2006, 23:24:25 +0200 [EMAIL PROTECTED] testzone $ date -d "20060502 23:24:25" marţi 2 mai 2006, 23:24:25 +0300 [EMAIL PROTECTED] testzone $ date +%c Mi 22 feb 2006 03:53:49 +0200 [EMAIL PROTECTED] testzone $ date -d "20060502 23:24:25" +%c Ma 02 mai 2006 23:24:25 +0300 [EMAIL PROTECTED] testzone $ date -d "20060202 23:24:25" +%c Jo 02 feb 2006 23:24:25 +0200 [EMAIL PROTECTED] testzone $ unset LOCPATH [EMAIL PROTECTED] testzone $/\1/g' | tr '\n' ' ' ` yesexpr="^[DdYy].*" noexpr="^[nN].*" int_curr_symbol="ROL " currency_symbol="Lei" mon_decimal_point="," mon_thousands_sep="." negative_sign="-" decimal_point="," thousands_sep="" abday="Du;Lu;Ma;Mi;Jo;Vi;Sî" day="DuminicĂ;Luni;Marţi;Miercuri;Joi;Vineri;SîmbĂtĂ" abmon="ian;feb;mar;apr;mai;iun;iul;aug;sep;oct;nov;dec" mon="Ianuarie;Februarie;Martie;Aprilie;Mai;Iunie;Iulie;August;Septembrie;Octombrie;Noiembrie;Decembrie" d_t_fmt="%a %d %b %Y %T %Z" d_fmt="%Y-%m-%d" t_fmt="%T" date_fmt="%a %b %e %H:%M:%S %Z %Y" tel_int_fmt="+%c %a %l" int_prefix="40" name_fmt="%d%t%g%t%m%t%f" name_mr="" name_mrs="" name_miss="" postal_fmt="%f%N%a%N%d%N%b%N%s %h %e %r%N%%z %T%N%c%N" country_name="" country_ab2="RO" country_ab3="ROU" country_car="" lang_name="" lang_ab="" [EMAIL PROTECTED] testzone $ date +%x 2006-02-22 [EMAIL PROTECTED] testzone $ date Mi feb 22 03:32:43 EET 2006 [EMAIL PROTECTED] testzone $ date -d "20060202 23:24:25" Jo feb 2 23:24:25 EET 2006 [EMAIL PROTECTED] testzone $ date -d "20060502 23:24:25" Ma mai 2 23:24:25 EEST 2006 [EMAIL PROTECTED] testzone $ date +%c Mi 22 feb 2006 03:54:04 EET [EMAIL PROTECTED] testzone $ date -d "20060502 23:24:25" +%c Ma 02 mai 2006 23:24:25 EEST [EMAIL PROTECTED] testzone $ date -d "20060202 23:24:25" +%c Jo 02 feb 2006 23:24:25 EET -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein
ro_RO_massive_fix-200602220336.diff.gz
Description: GNU Zip compressed data
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Locale : ro_RO Locale's month: Abrev. month: ian Long month: Ianuarie Abrev. month: feb Long month: Februarie Abrev. month: mar Long month: Martie Abrev. month: apr Long month: Aprilie Abrev. month: mai Long month: Mai Abrev. month: iun Long month: Iunie Abrev. month: iul Long month: Iulie Abrev. month: aug Long month: August Abrev. month: sep Long month: Septembrie Abrev. month: oct Long month: Octombrie Abrev. month: nov Long month: Noiembrie Abrev. month: dec Long month: Decembrie Locale's day: Abrev. day: Du Long day: Duminicà Abrev. day: Lu Long day: Luni Abrev. day: Ma Long day: Marþi Abrev. day: Mi Long day: Miercuri Abrev. day: Jo Long day: Joi Abrev. day: Vi Long day: Vineri Abrev. day: Sî Long day: SîmbÃtà Locale's date and time: << Mi 22 feb 2006 03:54:25 EET >> Locale's short date representation: << 2006-02-22 >> Locale's time representation: << 03:54:25 >> the result of LC_ALL=ro_RO LANG=ro_RO date Mi feb 22 03:54:25 EET 2006 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Locale : ro_RO.ISO-8859-16 Locale's month: Abrev. month: Jan Long month: January Abrev. month: Feb Long month: February Abrev. month: Mar Long month: March Abrev. month: Apr Long month: April Abrev. month: May Long month: May Abrev. month: Jun Long month: June Abrev. month: Jul Long month: July Abrev. month: Aug Long month: August Abrev. month: Sep Long month: September Abrev. month: Oct Long month: October Abrev. month: Nov Long month: November Abrev. month: Dec Long month: December Locale's day: Abrev. day: Sun Long day: Sunday Abrev. day: Mon Long day: Monday Abrev. day: Tue Long day: Tuesday Abrev. day: Wed Long day: Wednesday Abrev. day: Thu Long day: Thursday Abrev. day: Fri Long day: Friday Abrev. day: Sat Long day: Saturday Locale's date and time: << Wed Feb 22 03:54:25 2006 >> Locale's short date representation: << 02/22/06 >> Locale's time representation: << 03:54:25 >> the result of LC_ALL=ro_RO.ISO-8859-16 LANG=ro_RO.ISO-8859-16 date Wed Feb 22 03:54:25 EET 2006 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Locale : ro_RO.UTF-8 Locale's month: Abrev. month: ian Long month: Ianuarie Abrev. month: feb Long month: Februarie Abrev. month: mar Long month: Martie Abrev. month: apr Long month: Aprilie Abrev. month: mai Long month: Mai Abrev. month: iun Long month: Iunie Abrev. month: iul Long month: Iulie Abrev. month: aug Long month: August Abrev. month: sep Long month: Septembrie Abrev. month: oct Long month: Octombrie Abrev. month: nov Long month: Noiembrie Abrev. month: dec Long month: Decembrie Locale's day: Abrev. day: Du Long day: DuminicÄ Abrev. day: Lu Long day: Luni Abrev. day: Ma Long day: MarÅ£i Abrev. day: Mi Long day: Miercuri Abrev. day: Jo Long day: Joi Abrev. day: Vi Long day: Vineri Abrev. day: Sî Long day: SîmbÄtÄ Locale's date and time: << Mi 22 feb 2006 03:54:25 EET >> Locale's short date representation: << 2006-02-22 >> Locale's time representation: << 03:54:25 >> the result of LC_ALL=ro_RO.UTF-8 LANG=ro_RO.UTF-8 date Mi feb 22 03:54:25 EET 2006
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Locale : ro_RO Locale's month: Abrev. month: Jan Long month: January Abrev. month: Feb Long month: February Abrev. month: Mar Long month: March Abrev. month: Apr Long month: April Abrev. month: May Long month: May Abrev. month: Jun Long month: June Abrev. month: Jul Long month: July Abrev. month: Aug Long month: August Abrev. month: Sep Long month: September Abrev. month: Oct Long month: October Abrev. month: Nov Long month: November Abrev. month: Dec Long month: December Locale's day: Abrev. day: Sun Long day: Sunday Abrev. day: Mon Long day: Monday Abrev. day: Tue Long day: Tuesday Abrev. day: Wed Long day: Wednesday Abrev. day: Thu Long day: Thursday Abrev. day: Fri Long day: Friday Abrev. day: Sat Long day: Saturday Locale's date and time: << Wed Feb 22 03:52:11 2006 >> Locale's short date representation: << 02/22/06 >> Locale's time representation: << 03:52:11 >> the result of LC_ALL=ro_RO LANG=ro_RO date Wed Feb 22 03:52:11 EET 2006 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Locale : ro_RO.ISO-8859-16 Locale's month: Abrev. month: Jan Long month: January Abrev. month: Feb Long month: February Abrev. month: Mar Long month: March Abrev. month: Apr Long month: April Abrev. month: May Long month: May Abrev. month: Jun Long month: June Abrev. month: Jul Long month: July Abrev. month: Aug Long month: August Abrev. month: Sep Long month: September Abrev. month: Oct Long month: October Abrev. month: Nov Long month: November Abrev. month: Dec Long month: December Locale's day: Abrev. day: Sun Long day: Sunday Abrev. day: Mon Long day: Monday Abrev. day: Tue Long day: Tuesday Abrev. day: Wed Long day: Wednesday Abrev. day: Thu Long day: Thursday Abrev. day: Fri Long day: Friday Abrev. day: Sat Long day: Saturday Locale's date and time: << Wed Feb 22 03:52:11 2006 >> Locale's short date representation: << 02/22/06 >> Locale's time representation: << 03:52:11 >> the result of LC_ALL=ro_RO.ISO-8859-16 LANG=ro_RO.ISO-8859-16 date Wed Feb 22 03:52:11 EET 2006 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Locale : ro_RO.UTF-8 Locale's month: Abrev. month: ian Long month: ianuarie Abrev. month: feb Long month: februarie Abrev. month: mar Long month: martie Abrev. month: apr Long month: aprilie Abrev. month: mai Long month: mai Abrev. month: iun Long month: iunie Abrev. month: iul Long month: iulie Abrev. month: aug Long month: august Abrev. month: sep Long month: septembrie Abrev. month: oct Long month: octombrie Abrev. month: nov Long month: noiembrie Abrev. month: dec Long month: decembrie Locale's day: Abrev. day: Du Long day: duminicÄ Abrev. day: Lu Long day: luni Abrev. day: Ma Long day: marÅ£i Abrev. day: Mi Long day: miercuri Abrev. day: Jo Long day: joi Abrev. day: Vi Long day: vineri Abrev. day: Sb Long day: sâmbÄtÄ Locale's date and time: << Mi 22 feb 2006 03:52:12 +0200 >> Locale's short date representation: << 22.02.2006 >> Locale's time representation: << 03:52:12 >> the result of LC_ALL=ro_RO.UTF-8 LANG=ro_RO.UTF-8 date miercuri 22 februarie 2006, 03:52:12 +0200