Skip site navigation (1)Skip section navigation (2)
Date:      11 Feb 2001 23:42:31 +0900
From:      CHOI Junho <cjh@kr.FreeBSD.org>
To:        freebsd-i18n@freebsd.org
Subject:   ko_KR.EUC fix/addition
Message-ID:  <86zoftz3fs.fsf@gnomaniac.myhome>

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

Recently changes in LC_MONETARY, LC_NUMERIC and LC_MESSAGE brokes some
locales which has no defition of them. ko_KR.EUC is broken, and other
locale such as ja_JP.* also. Just symlinking them from en_US.ISO8859-1
fixes the problem, but we should define them, or falling into 'C'
locale when these locales undefined all of LC_*.

Here is my patch of share/, adding LC_MONETARY, LC_NUMERIC and
LC_MESSAGE for ko_KR.EUC.

diff -uNr so/monetdef/Makefile share/monetdef/Makefile
--- so/monetdef/Makefile	Sun Feb 11 07:44:15 2001
+++ share/monetdef/Makefile	Sun Feb 11 23:34:19 2001
@@ -21,7 +21,8 @@
 		no_NO.ISO_8859-1 \
 		pl_PL.ISO_8859-2 \
 		ru_RU.KOI8-R \
-		sv_SE.ISO_8859-1
+		sv_SE.ISO_8859-1 \
+		ko_KR.EUC
 
 LOCALEDIR=      ${DESTDIR}/usr/share/locale
 
diff -uNr so/monetdef/ko_KR.EUC.src share/monetdef/ko_KR.EUC.src
--- so/monetdef/ko_KR.EUC.src	Thu Jan  1 09:00:00 1970
+++ share/monetdef/ko_KR.EUC.src	Sun Feb 11 23:34:03 2001
@@ -0,0 +1,36 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol
+KRW 
+# currency_symbol
+\
+# mon_decimal_point
+.
+# mon_thousands_sep
+,
+# mon_grouping, separated by ;
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+0
+# frac_digits
+0
+# p_cs_precedes
+1
+# p_sep_by_space
+0
+# n_cs_precedes
+1
+# n_sep_by_space
+0
+# p_sign_posn
+1
+# n_sign_posn
+4
+# EOF
diff -uNr so/msgdef/Makefile share/msgdef/Makefile
--- so/msgdef/Makefile	Sun Feb 11 07:44:27 2001
+++ share/msgdef/Makefile	Sun Feb 11 23:34:55 2001
@@ -16,7 +16,8 @@
 		no_NO.ISO_8859-1 \
 		pl_PL.ISO_8859-2 \
 		ru_RU.KOI8-R \
-		sv_SE.ISO_8859-1
+		sv_SE.ISO_8859-1 \
+		ko_KR.EUC
 
 ENGLISH=	en_US.ISO_8859-1
 ENGLISHLINKS=	en_AU.ISO_8859-1 en_CA.ISO_8859-1 en_GB.ISO_8859-1 \
diff -uNr so/msgdef/ko_KR.EUC.src share/msgdef/ko_KR.EUC.src
--- so/msgdef/ko_KR.EUC.src	Thu Jan  1 09:00:00 1970
+++ share/msgdef/ko_KR.EUC.src	Sun Feb 11 23:34:46 2001
@@ -0,0 +1,10 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# yesexpr
+^[yYsS].*
+# noexpr
+^[nN].*
+# EOF
diff -uNr so/numericdef/Makefile share/numericdef/Makefile
--- so/numericdef/Makefile	Sun Feb 11 07:44:31 2001
+++ share/numericdef/Makefile	Sun Feb 11 23:35:22 2001
@@ -16,7 +16,8 @@
 		no_NO.ISO_8859-1 \
 		pl_PL.ISO_8859-2 \
 		ru_RU.KOI8-R \
-		sv_SE.ISO_8859-1
+		sv_SE.ISO_8859-1 \
+		ko_KR.EUC
 
 LOCALEDIR=      ${DESTDIR}/usr/share/locale
 USENGLISH=	en_US.ISO_8859-1
diff -uNr so/numericdef/ko_KR.EUC.src share/numericdef/ko_KR.EUC.src
--- so/numericdef/ko_KR.EUC.src	Thu Jan  1 09:00:00 1970
+++ share/numericdef/ko_KR.EUC.src	Sun Feb 11 23:35:11 2001
@@ -0,0 +1,12 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+.
+# thousands_sep
+,
+# grouping, separated by ;
+3;3
+# EOF

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [now sleeping]                    <http://www.kr.FreeBSD.org/~cjh>;
 [while sleeping]       <cjh@kr.FreeBSD.ORG> <cjh@FreeBSD.ORG> <cjh@wdb.co.kr>
 Korea FreeBSD Users Group/www.kr.FreeBSD.org      Web Data Bank/www.wdb.co.kr


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-i18n" in the body of the message




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