-
Notifications
You must be signed in to change notification settings - Fork 4
/
286.txt
192 lines (137 loc) · 7.59 KB
/
286.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
* IETF における定義
[FIG[
[4]
> Locale is the user-specific location and cultural information managed by a computer.
[FIGCAPTION[
[CITE@en[RFC 3536 - Terminology Used in Internationalization in the IETF]]
<http://tools.ietf.org/html/rfc3536#section-7>
]FIGCAPTION]
]FIG]
* LDML における定義
[FIG[
[7]
>In this model, a locale is an identifier (id) that refers to a set of user preferences that tend to be shared across significant swaths of the world. Traditionally, the data associated with this id provides support for formatting and parsing of dates, times, numbers, and currencies; for measurement units, for sort-order (collation), plus translated names for time zones, languages, countries, and scripts. The data can also include support for text boundaries (character, word, line, and sentence), text transformations (including transliterations), and other services.
[FIGCAPTION[
[CITE@en-us[UTS #35: Unicode Locale Data Markup Language]] ([TIME[2011-07-19 03:14:51 +09:00]] 版) <http://unicode.org/reports/tr35/#Locale>
]FIGCAPTION]
]FIG]
[8] この定義による「[[ロケール]]」は文字列です。
* ロケールの仕様
- [5] [[ISO/IEC 15897]] ([[IDT]] [[CEN ENV 12005]])
- [13] [[OpenI18N Locale Naming Guideline]]
- [6] [[UTS #35]] [[LDML]]
* ロケールの分類
- [9] [[言語ロケール]]
- [10] [[領土ロケール]]
* ロケールの継承
[11] [[ロケール]]間には[[継承]]関係が定義されていることもあります。
[REFS[
- [12] [CITE@en-us[UTS #35: Unicode Locale Data Markup Language]] ([TIME[2011-07-19 03:14:51 +09:00]] 版) <http://unicode.org/reports/tr35/#Locale_Inheritance>
]REFS]
* 関連
- [[言語符号]]
* メモ
[1]
<http://macchiato.com/slides/unicode_at_google.pdf>
[2] [CITE[Manpage of LOCALE]] ([TIME[2009-03-14 16:26:46 +09:00]] 版) <http://www.linux.or.jp/JM/html/LDP_man-pages/man5/locale.5.html>
[3] [CITE@en[GNU libc (glibc) locale patch page]] ([TIME[2004-07-18 17:07:47 +09:00]] 版) <http://www.hungry.com/~pere/linux/glibc/>
[14] [CITE@en[RFC 6365 - Terminology Used in Internationalization in the IETF]]
([TIME[2011-09-10 19:11:51 +09:00]] 版)
<http://tools.ietf.org/html/rfc6365#section-8>
[15] [CITE@en[Web Applications 1.0 r6905 Clarify how language affects form controls.]]
( ([TIME[2012-01-21 08:03:00 +09:00]] 版))
<http://html5.org/tools/web-apps-tracker?from=6904&to=6905>
[16] [CITE@en[Web Services Internationalization (WS-I18N)]]
( ([TIME[2012-05-17 23:07:50 +09:00]] 版))
<http://www.w3.org/TR/2012/NOTE-ws-i18n-20120522/#sec-locale>
[17] [CITE@en[Bug 22679 – API to expose locale-specific settings]]
( ([TIME[2013-10-15 08:07:23 +09:00]] 版))
<https://www.w3.org/Bugs/Public/show_bug.cgi?id=22679>
[18] [CITE@ja[ロケールとコード ページ]]
([TIME[2015-04-24 19:40:59 +09:00]] 版)
<https://msdn.microsoft.com/ja-jp/library/8w60z792.aspx>
[19] [CITE@ja[ロケール ID (LCID) の一覧]]
([TIME[2015-04-24 19:41:33 +09:00]] 版)
<https://msdn.microsoft.com/ja-jp/library/cc392381.aspx>
[20] [CITE@en[Locale IDs Assigned by Microsoft]]
([TIME[2015-04-24 19:42:04 +09:00]] 版)
<https://msdn.microsoft.com/en-us/goglobal/bb964664.aspx>
[21] [CITE@en[Subscriber Locale Codes]]
([TIME[2015-04-24 19:43:54 +09:00]] 版)
<https://technet.microsoft.com/en-us/library/aa226765(v=sql.80).aspx>
[22] [CITE@en[Locale IDs, Input Locales, and Language Collections for Windows XP and Windows Server 2003]]
([TIME[2015-04-24 19:44:32 +09:00]] 版)
<https://msdn.microsoft.com/en-us/goglobal/bb895996.aspx>
[23] [CITE[Internationalizing Your App - Google Chrome]]
([TIME[2015-04-24 19:47:04 +09:00]] 版)
<https://developer.chrome.com/webstore/i18n?csw=1#localeTable>
[24] [CITE@en[Mozilla localizations - Wikipedia, the free encyclopedia]]
([TIME[2015-04-23 11:42:41 +09:00]] 版)
<http://en.wikipedia.org/wiki/Mozilla_localizations>
[25] [CITE@ja[カスタム用語集の形式 - Translate ヘルプ]]
([TIME[2015-04-24 20:24:00 +09:00]] 版)
<https://support.google.com/translate/toolkit/answer/147854?hl=ja>
[26] [CITE[Locale | Android Developers]]
([TIME[2015-04-24 21:39:02 +09:00]] 版)
<http://developer.android.com/reference/java/util/Locale.html>
[27] [CITE[localization - What is the list of supported languages/locales on Android? - Stack Overflow]]
([TIME[2015-04-24 21:39:12 +09:00]] 版)
<http://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android>
[28] [CITE@en-US[Android App Localization :: WilsonMar.com]]
([[Wilson Mar, 310.320-7878]] 著, [TIME[2014-08-24 10:54:11 +09:00]] 版)
<http://www.wilsonmar.com/android_localization.htm>
[29] [CITE@en[Mobile/Projects/Localization - MozillaWiki]]
([TIME[2015-04-24 21:45:04 +09:00]] 版)
<https://wiki.mozilla.org/Mobile/Projects/Localization>
[30] [CITE@en[Language and Locale IDs]]
([TIME[2015-04-24 21:57:15 +09:00]] 版)
<https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/LanguageandLocaleIDs/LanguageandLocaleIDs.html>
[31] [CITE[Objective-C - iOSで選択できる言語 - Qiita]]
([TIME[2015-04-24 21:59:05 +09:00]] 版)
<http://qiita.com/hirobe/items/cb906cca486675d02a87>
[32] [CITE[iOS Locale Identifiers]]
([TIME[2015-04-24 21:59:48 +09:00]] 版)
<https://gist.github.com/jacobbubu/1836273>
[33] ([TIME[2015-04-24 22:03:33 +09:00]] 版)
<https://www.facebook.com/translations/FacebookLocales.xml>
[34] [CITE@en[akarve/facebook-locales-to-json]]
([TIME[2015-04-24 22:04:42 +09:00]] 版)
<https://github.com/akarve/facebook-locales-to-json>
[FIG(quote)[
[FIGCAPTION[
[35] [CITE@ja[Localization & Translation]]
([TIME[2015-04-24 22:06:20 +09:00]] 版)
<https://developers.facebook.com/docs/internationalization>
]FIGCAPTION]
> There are two exceptions that do not follow the ISO standard: ar_AR and es_LA. We use these to denote umbrella locales for Arabic and Spanish. (For Spanish, we support a few specialized localizations.)
]FIG]
[36] [CITE@ja[Localization]]
([TIME[2015-04-24 22:07:24 +09:00]] 版)
<https://developers.facebook.com/docs/opengraph/guides/internationalization/>
[37] [CITE@en[Supported Culture Codes]]
([TIME[2015-04-25 14:56:58 +09:00]] 版)
<https://msdn.microsoft.com/en-us/library/hh441729.aspx>
[38] [CITE@ja[LocaleMapping - Apache OpenOffice Wiki]]
([TIME[2015-04-25 10:01:18 +09:00]] 版)
<https://wiki.openoffice.org/wiki/LocaleMapping>
[39] [CITE@ja[LibreOffice Localization Guide/Adding a New Language or Locale - The Document Foundation Wiki]]
([TIME[2015-01-25 23:26:46 +09:00]] 版)
<https://wiki.documentfoundation.org/LibreOffice_Localization_Guide/Adding_a_New_Language_or_Locale>
[40] [CITE@en[LCOV - make check - i18nlangtag/source/isolang/isolang.cxx]]
([TIME[2015-03-05 07:44:18 +09:00]] 版)
<http://lcov.libreoffice.org/i18nlangtag/source/isolang/isolang.cxx.gcov.html>
[41] [CITE@en[List of Wikipedias - Meta]]
([TIME[2015-04-25 09:00:16 +09:00]] 版)
<http://meta.wikimedia.org/wiki/List_of_Wikipedias>
[42] [CITE@en[MySQL :: MySQL 5.6 Reference Manual :: 10.7 MySQL Server Locale Support]]
([TIME[2015-04-25 15:10:18 +09:00]] 版)
<https://dev.mysql.com/doc/refman/5.6/en/locale-support.html>
[43] [CITE[Java SE 7 Supported Locales]]
([TIME[2015-04-25 17:28:54 +09:00]] 版)
<http://www.oracle.com/technetwork/java/javase/javase7locales-334809.html>
[44] [CITE@en[''''''[''''''mediawiki'''''']'''''' Contents of /trunk/phase3/languages/Names.php]]
([TIME[2015-04-25 19:49:51 +09:00]] 版)
<http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/Names.php?view=markup>
[45] [CITE@en[mediawiki/Names.php at master · wikimedia/mediawiki]]
([TIME[2015-04-25 19:51:12 +09:00]] 版)
<https://github.com/wikimedia/mediawiki/blob/master/languages/Names.php>