glibc/localedata/locales/sv_SE
Stanislav Brabec 70a6707fa1 Locales: Use Unicode wise thousands separator
Many languages use small gap as thousands separator.

Thousands separator should not be a plain space, but a narrow space.
And additionally, it is not allowed to wrap line in the middle of the
number.

Locale data were created in a deep age of 8-bit encodings, so most of
them use space (incorrect: it allows wrapping the line in the middle
of the number), or NBSP (better, but typographically incorrect: space
between groups is too wide).

Now UNICODE is widely supported, so we should leave legacy characters
in favor of correct UNICODE character.

UNICODE has a dedicated character for this purpose:

NNBSP
U+202F NARROW NO-BREAK SPACE: a narrow form of a no-break space,
typically the width of a thin space or a mid space

The NNBSP exists since Unicode 3.0.

Use of NNBSP will prevent line wrapping in the midle of number and
improve readability of numbers.

	[BZ #20756]
	* locales/aa_DJ (LC_MONETARY): Replace space by NNBSP as thousands separator.
	* locales/az_AZ (LC_MONETARY): Likewise.
	* locales/be_BY (LC_MONETARY): Likewise.
	* locales/be_BY@latin (LC_MONETARY): Likewise.
	* locales/bg_BG (LC_MONETARY): Likewise.
	* locales/bs_BA (LC_MONETARY): Likewise.
	* locales/ce_RU (LC_MONETARY): Likewise.
	* locales/crh_UA (LC_MONETARY): Likewise.
	* locales/cs_CZ (LC_MONETARY): Likewise.
	* locales/cs_CZ (LC_NUMERIC): Likewise.
	* locales/cv_RU (LC_MONETARY): Likewise.
	* locales/de_AT (LC_MONETARY): Likewise.
	* locales/eo (LC_MONETARY): Likewise.
	* locales/es_CR (LC_MONETARY): Likewise.
	* locales/es_CR (LC_NUMERIC): Likewise.
	* locales/es_CU (LC_MONETARY): Likewise.
	* locales/et_EE (LC_MONETARY): Likewise.
	* locales/et_EE (LC_NUMERIC): Likewise.
	* locales/fi_FI (LC_MONETARY): Likewise.
	* locales/fi_FI (LC_NUMERIC): Likewise.
	* locales/fr_CA (LC_MONETARY): Likewise.
	* locales/fr_FR (LC_MONETARY): Likewise.
	* locales/fr_FR (LC_NUMERIC): Likewise.
	* locales/fr_LU (LC_MONETARY): Likewise.
	* locales/fr_LU (LC_NUMERIC): Likewise.
	* locales/hr_HR (LC_MONETARY): Likewise.
	* locales/ht_HT (LC_NUMERIC): Likewise.
	* locales/kk_KZ (LC_MONETARY): Likewise.
	* locales/kk_KZ (LC_NUMERIC): Likewise.
	* locales/ky_KG (LC_MONETARY): Likewise.
	* locales/ky_KG (LC_NUMERIC): Likewise.
	* locales/lv_LV (LC_MONETARY): Likewise.
	* locales/lv_LV (LC_NUMERIC): Likewise.
	* locales/mg_MG (LC_MONETARY): Likewise.
	* locales/mhr_RU (LC_MONETARY): Likewise.
	* locales/mk_MK (LC_MONETARY): Likewise.
	* locales/mk_MK (LC_NUMERIC): Likewise.
	* locales/mn_MN (LC_MONETARY): Likewise.
	* locales/nb_NO (LC_MONETARY): Likewise.
	* locales/nb_NO (LC_NUMERIC): Likewise.
	* locales/nl_AW (LC_MONETARY): Likewise.
	* locales/nl_NL (LC_MONETARY): Likewise.
	* locales/nn_NO (LC_MONETARY): Likewise.
	* locales/os_RU (LC_MONETARY): Likewise.
	* locales/pap_AW (LC_MONETARY): Likewise.
	* locales/pap_CW (LC_MONETARY): Likewise.
	* locales/ru_RU (LC_MONETARY): Likewise.
	* locales/ru_RU (LC_NUMERIC): Likewise.
	* locales/ru_UA (LC_MONETARY): Likewise.
	* locales/sk_SK (LC_MONETARY): Likewise.
	* locales/sk_SK (LC_NUMERIC): Likewise.
	* locales/sl_SI (LC_MONETARY): Likewise.
	* locales/sl_SI (LC_NUMERIC): Likewise.
	* locales/sq_MK (LC_MONETARY): Likewise.
	* locales/sv_SE (LC_MONETARY): Likewise.
	* locales/sv_SE (LC_NUMERIC): Likewise.
	* locales/tg_TJ (LC_MONETARY): Likewise.
	* locales/tt_RU (LC_MONETARY): Likewise.
	* locales/tt_RU@iqtelif (LC_MONETARY): Likewise.
	* locales/uk_UA (LC_MONETARY): Likewise.
	* locales/uk_UA (LC_NUMERIC): Likewise.
	* locales/unm_US (LC_MONETARY): Likewise.
	* locales/unm_US (LC_NUMERIC): Likewise.
	* locales/wo_SN (LC_MONETARY): Likewise.
2017-08-12 16:03:49 +02:00

253 lines
7.8 KiB
Plaintext

comment_char %
escape_char /
% This file is part of the GNU C Library and contains locale data.
% The Free Software Foundation does not claim any copyright interest
% in the locale data contained in this file. The foregoing does not
% affect the license of the GNU C Library as a whole. It does not
% exempt you from the conditions of the license if your use would
% otherwise be governed by that license.
% Swedish language locale for Sweden
% 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: sv
% Territory: SE
% Revision: 4.4
% Date: 1997-03-18
% Application: general
% Users: general
% This is a 4 step version.
% The Swedish Technical Standard
% TN34:1 requires 7 steps, of which the
% step 3 handling numerics cannot be
% dealt with correctly with current
% POSIX specifications.
LC_IDENTIFICATION
title "Swedish locale for Sweden"
source "RAP"
address "Sankt J<U00F8>rgens Alle 8, DK-1615 K<U00F8>benhavn V, Danmark"
contact ""
email "bug-glibc-locales@gnu.org"
tel ""
fax ""
language "Swedish"
territory "Sweden"
revision "1.0"
date "2000-06-29"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE
category "i18n:2012";LC_COLLATE
category "i18n:2012";LC_TIME
category "i18n:2012";LC_NUMERIC
category "i18n:2012";LC_MONETARY
category "i18n:2012";LC_MESSAGES
category "i18n:2012";LC_PAPER
category "i18n:2012";LC_NAME
category "i18n:2012";LC_ADDRESS
category "i18n:2012";LC_TELEPHONE
category "i18n:2012";LC_MEASUREMENT
END LC_IDENTIFICATION
LC_COLLATE
copy "iso14651_t1"
collating-symbol <aring>
collating-symbol <ae>
collating-symbol <oumlaut>
collating-symbol <oslash>
% æ is sorted after ä and å etc.
reorder-after <REU>
<LIG>
reorder-after <z>
<aring>
<ae>
<oumlaut>
<oslash>
% The letter w is normally not present in the Swedish alphabet. It
% exists in some names in Swedish and foreign words, but is accounted
% for as a variant of 'v'. Words and names with 'w' are in Swedish
% ordered alphabetically among the words and names with 'v'. If two
% words or names are only to be distinguished by 'v' or % 'w', 'v' is
% placed before 'w'.
reorder-after <U0056>
<U0057> <v>;<BAS>;<CAP>;<w> % W
reorder-after <U0076>
<U0077> <v>;<BAS>;<MIN>;<w> % w
reorder-after <U00E3>
<U00E4> <ae>;<REU>;<MIN>;IGNORE % ä
<U00E5> <aring>;<RNE>;<MIN>;IGNORE % å
<U00E6> <ae>;<LIG>;<MIN>;IGNORE % æ
reorder-after <U00F5>
<U00F6> <oumlaut>;<REU>;<MIN>;IGNORE % ö
<U00F8> <oslash>;<OBL>;<MIN>;IGNORE % ø
reorder-after <U00C3>
<U00C4> <ae>;<REU>;<CAP>;IGNORE % Ä
<U00C5> <aring>;<RNE>;<CAP>;IGNORE % Å
<U00C6> <ae>;<LIG>;<CAP>;IGNORE % Æ
reorder-after <U00D5>
<U00D6> <oumlaut>;<REU>;<CAP>;IGNORE % Ö
<U00D8> <oslash>;<OBL>;<CAP>;IGNORE % Ø
% ü/Ü is treated like y/Y but is sorted after the latter
reorder-after <U00FB>
<U00FC> <y>;<REU>;<MIN>;IGNORE % ü
reorder-after <U00DB>
<U00DC> <y>;<REU>;<CAP>;IGNORE % Ü
reorder-end
END LC_COLLATE
LC_CTYPE
copy "i18n"
translit_start
include "translit_combining";""
% LATIN CAPITAL LETTER A WITH DIAERESIS -> "AE"
<U00C4> "<U0041><U0308>";"<U0041><U0045>"
% LATIN CAPITAL LETTER A WITH RING ABOVE -> "AA"
<U00C5> "<U0041><U030A>";"<U0041><U0041>"
% LATIN CAPITAL LETTER AE -> "AE"
<U00C6> "<U0041><U0045>"
% LATIN CAPITAL LETTER O WITH DIAERESIS -> "OE"
<U00D6> "<U004F><U0308>";"<U004F><U0045>"
% LATIN CAPITAL LETTER O WITH STROKE -> "OE"
<U00D8> "<U004F><U0338>";"<U004F><U0045>"
% LATIN SMALL LETTER A WITH DIAERESIS -> "ae"
<U00E4> "<U0061><U0308>";"<U0061><U0065>"
% LATIN SMALL LETTER A WITH RING ABOVE -> "aa"
<U00E5> "<U0061><U030A>";"<U0061><U0061>"
% LATIN SMALL LETTER AE -> "ae"
<U00E6> "<U0061><U0065>"
% LATIN SMALL LETTER O WITH DIAERESIS -> "oe"
<U00F6> "<U006F><U0308>";"<U006F><U0065>"
% LATIN SMALL LETTER O WITH STROKE -> "oe"
<U00F8> "<U006F><U0338>";"<U006F><U0065>"
translit_end
END LC_CTYPE
LC_MONETARY
int_curr_symbol "<U0053><U0045><U004B><U0020>"
currency_symbol "<U006B><U0072>"
mon_decimal_point "<U002C>"
mon_thousands_sep "<U202F>"
mon_grouping 3;3
positive_sign ""
negative_sign "<U002D>"
int_frac_digits 2
frac_digits 2
p_cs_precedes 0
p_sep_by_space 1
n_cs_precedes 0
n_sep_by_space 1
p_sign_posn 1
n_sign_posn 1
END LC_MONETARY
LC_NUMERIC
decimal_point "<U002C>"
thousands_sep "<U202F>"
grouping 3;3
END LC_NUMERIC
LC_TIME
abday "<U0073><U00F6><U006E>";"<U006D><U00E5><U006E>";/
"<U0074><U0069><U0073>";"<U006F><U006E><U0073>";/
"<U0074><U006F><U0072>";"<U0066><U0072><U0065>";/
"<U006C><U00F6><U0072>"
day "<U0073><U00F6><U006E><U0064><U0061><U0067>";/
"<U006D><U00E5><U006E><U0064><U0061><U0067>";/
"<U0074><U0069><U0073><U0064><U0061><U0067>";/
"<U006F><U006E><U0073><U0064><U0061><U0067>";/
"<U0074><U006F><U0072><U0073><U0064><U0061><U0067>";/
"<U0066><U0072><U0065><U0064><U0061><U0067>";/
"<U006C><U00F6><U0072><U0064><U0061><U0067>"
abmon "<U006A><U0061><U006E>";"<U0066><U0065><U0062>";/
"<U006D><U0061><U0072>";"<U0061><U0070><U0072>";/
"<U006D><U0061><U006A>";"<U006A><U0075><U006E>";/
"<U006A><U0075><U006C>";"<U0061><U0075><U0067>";/
"<U0073><U0065><U0070>";"<U006F><U006B><U0074>";/
"<U006E><U006F><U0076>";"<U0064><U0065><U0063>"
mon "<U006A><U0061><U006E><U0075><U0061><U0072><U0069>";/
"<U0066><U0065><U0062><U0072><U0075><U0061><U0072><U0069>";/
"<U006D><U0061><U0072><U0073>";/
"<U0061><U0070><U0072><U0069><U006C>";/
"<U006D><U0061><U006A>";/
"<U006A><U0075><U006E><U0069>";/
"<U006A><U0075><U006C><U0069>";/
"<U0061><U0075><U0067><U0075><U0073><U0074><U0069>";/
"<U0073><U0065><U0070><U0074><U0065><U006D><U0062><U0065><U0072>";/
"<U006F><U006B><U0074><U006F><U0062><U0065><U0072>";/
"<U006E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
"<U0064><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
d_t_fmt "<U0025><U0061><U0020><U0025><U0065><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
d_fmt "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"
t_fmt "<U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
am_pm "";""
t_fmt_ampm ""
week 7;19971130;4
first_weekday 2
END LC_TIME
LC_MESSAGES
yesexpr "<U005E><U005B><U002B><U0031><U006A><U004A><U0079><U0059><U005D>"
noexpr "<U005E><U005B><U002D><U0030><U006E><U004E><U005D>"
yesstr "<U006A><U0061>"
nostr "<U006E><U0065><U006A>"
END LC_MESSAGES
LC_PAPER
copy "i18n"
END LC_PAPER
LC_TELEPHONE
tel_int_fmt "<U002B><U0025><U0063><U002D><U0025><U0061><U002D><U0025>/
<U006C>"
tel_dom_fmt "<U0030><U0025><U0061><U002D><U0025><U006C>"
int_select "<U0030><U0030>"
int_prefix "<U0034><U0036>"
END LC_TELEPHONE
LC_MEASUREMENT
copy "i18n"
END LC_MEASUREMENT
LC_NAME
name_fmt "<U0025><U0064><U0025><U0074><U0025><U0067><U0025><U0074>/
<U0025><U006D><U0025><U0074><U0025><U0066>"
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><U007A><U0020><U0025><U0054><U0025>/
<U004E><U0025><U0063><U0025><U004E>"
country_name "<U0053><U0076><U0065><U0072><U0069><U0067><U0065>"
country_ab2 "<U0053><U0045>"
country_ab3 "<U0053><U0057><U0045>"
country_num 752
% S
country_car "<U0053>"
% svenska
lang_name "<U0073><U0076><U0065><U006E><U0073><U006B><U0061>"
lang_ab "<U0073><U0076>"
lang_term "<U0073><U0077><U0065>"
lang_lib "<U0073><U0077><U0065>"
END LC_ADDRESS