4 In KDE we support localization of calendars, dates, time, numbers and
5 money. KDE will use this when displaying such information, giving you
6 a feeling that KDE was written to fit your national standards. To make
7 this possible, we need to gather some information on your national
8 standards. Currently there are some 228 countries supported. If your
9 country is missing, please let us know.
11 The official ISO codes unsupported as at 18/11/2008 are:
18 * GS South Georgia and the South Sandwich Islands
19 * HM Heard Island and MacDonald Islands
21 * IO British Indian Ocean Territory
24 * MP Northern Mariana Islands
26 * SJ Svalbard and Jan Mayen
27 * TF French Southern Territories
28 * UM United States Minor Outlying Islands
31 Of these, the following codes are likely to be considered for support:
39 * MP Northern Mariana Islands
41 * SJ Svalbard and Jan Mayen
44 HOW TO ADD INFORMATION
45 ======================
46 First you have to write a file called "entry.desktop". This file will
47 describe your national standards. Please read the section below for
48 more information on that. Please use the file "country.template" as
51 You will need a nice flag for your country. The size should be 21x14
52 pixels, and it should be called "flag.png".
54 To add your information, we need a two letter country code for you country.
55 Use http://www.iso.org/iso/country_codes/ or the entities.csv document in
56 this folder as a guide.
58 Now you are done, and you can submit the files to KDE project by
59 sending a mail to Hans Petter Bieker <bieker@kde.org>. The files will
60 be added in the next release. Please include the country code in the
65 entry.desktop is a file which defines a locale for a country. It's
66 stored the same way as the rest of the KDE configuration files. The
67 very first line should only contain "[KCM Locale]". The rest of the
68 file should contain one line for each of the entries below. Add "="
69 between the entry name and the value.
72 The name of the email address to reach you.
77 The name of the country in English.
83 Defines which submenu the country belongs to. Currently there are 20 different regions
84 conforming to the United Nations statistical regions, excluding the Oceania sub-divisions,
85 but adding Central Europe. See http://unstats.un.org/unsd/methods/m49/m49regin.htm for details.
87 centralasia (Central Asia)
89 southasia (South Asia)
90 southeastasia (South-East Asia)
91 middleeast (Middle-East/West Asia)
92 centralafrica (Central Africa)
93 northafrica (Northern Africa)
94 southafrica (Southern Africa)
95 westafrica (Western Africa)
96 eastafrica (Eastern Africa)
97 easteurope (Eastern Europe)
98 westeurope (Western Europe)
99 southeurope (Southern Europe)
100 northeurope (Northern Europe)
101 centraleurope (Central Europe)
102 northamerica (North America)
103 southamerica (South America)
104 centralemarica (Central America)
105 caribbean (Caribbean)
111 A comma separated list of locale codes for the official languages
117 The symbol that separates the decimals from the rest of the
128 The symbol of the currency used in the country.
132 * MonetaryDecimalSymbol
133 The symbol that separates the decimals from the rest of the number
138 * MonetaryThousandsSeparator
139 Thousands separator for money.
144 Positive sign for money.
145 Note: this will be used for formatting numbers. Do not add "+" if
146 you don't really want numbers to be formatted that way.
151 Negative sign for money.
156 Number fract digits used for money
160 * PositivePrefixCurrencySymbol
161 If currency symbol should be prepended (if not, it will be
162 appended). This is for non-negative money values.
166 * NegativePrefixCurrencySymbol
167 If currency symbol should be prepended (if not, it will be
168 appended). This is for negative money values.
172 * PositiveMonetarySignPosition
173 Defines which type and where the sign (if it's positive or
174 negative) should be placed. This is for non-negative money values.
177 1 BeforeQuantityMoney
184 * NegativeMonetarySignPosition
185 Same as PositiveMonetarySignPosition, but for negative numbers.
189 * DateFormat[language code]
190 This defines how a date is formated. The date string will be
191 contructed from this string and the sequences below will be
192 replaced. This should be marked with a language code as well for
193 each supported language.
195 %Y The year with century as a decimal number.
196 %y The year without century as a decimal number (00-99).
197 %m The month as a decimal number (01-12).
198 %n The month as a decimal number (1-12).
199 %b The national representation of the abbreviated month name,
200 where the abbreviation is the first three characters.
201 %B The national representation of the full month name.
202 %d The day of month as a decimal number (01-31).
203 %e The day of month as a decimal number (1-31).
204 %a The national representation of the abbreviated weekday name,
205 where the abbreviation is the first three characters.
206 %A The national representation of the full weekday name.
208 Default: "%A %d %B %Y"
211 This is the same as DateFormat, but is used when the program asks
212 for a short date. Usally this is used when listing files etc.
217 This defines how a times are formated. The date string will be
218 contructed from this string and the sequences below will be
221 %H The hour as a decimal number using a 24-hour clock (range 00 to
223 %k The hour (24-hour clock) as a decimal number (range 0 to 23).
224 %I The hour as a decimal number using a 12-hour clock (range 01 to
226 %l The hour (12-hour clock) as a decimal number (range 1 to 12).
227 %M The minute as a decimal number (range 00 to 59).
228 %S The second as a decimal number (range 00 to 59).
229 %p Either AM or PM according to the given time value. AM or PM are
230 translating to the current language. Noon is treated as PM
236 This defines which day is the first of the week. Accepted value is
237 an integer number where 1 means Monday, 2 Tuesday, and so on.
241 * WorkingWeekStartDay
242 This defines which day is the first working day of the week. Accepted
243 value is an integer number where 1 means Monday, 2 Tuesday, and so on.
248 This defines which day is the last working day of the week. Accepted
249 value is an integer number where 1 means Monday, 2 Tuesday, and so on.
254 This defines which day is the day of the week for religious observance.
255 Accepted value is an integer number where 1 means Monday, 2 Tuesday,
256 and so on. A special value of 0 means no day of religious observance.
261 This defines which measure system we should use. There are two
262 values here, 0 for Metric and 1 for Imperial. Metric would give
263 you meters (or cm/mm), while Imperial would give you inches.
268 This defines which page size we should use by default. It should
269 be the number of the item in the QPrinter::PageSize enum. Here are
280 This defines which calendar system to use. Available systems are:
290 * BusinessAddressFormat
291 * AddressCountryPosition
292 These fields define the formatting of postal addresses. For
293 detailled information on these fields' format, please refer to
294 kdelibs/kabc/README.AddressFormat
296 Hans Petter Bieker <bieker@kde.org>
297 Lukas Tinkl <lukas@kde.org>
298 John Layt <john@layt.net>