1wxLocale(3) Erlang Module Definition wxLocale(3)
2
3
4
6 wxLocale - See external documentation: wxLocale.
7
9 See external documentation: wxLocale.
10
12 wxLocale():
13
14
15 An object reference, The representation is internal and can be
16 changed without notice. It can't be used for comparsion stored on
17 disc or distributed for use on other nodes.
18
20 new() -> wxLocale()
21
22 See external documentation.
23
24 new(Language) -> wxLocale()
25
26 Types:
27
28 Language = integer()
29
30 Equivalent to new(Language, []).
31
32 new(Language, Options::[Option]) -> wxLocale()
33
34 Types:
35
36 Language = integer()
37 Option = {flags, integer()}
38
39 See external documentation.
40
41 init(This) -> boolean()
42
43 Types:
44
45 This = wxLocale()
46
47 Equivalent to init(This, []).
48
49 init(This, Options::[Option]) -> boolean()
50
51 Types:
52
53 This = wxLocale()
54 Option = {language, integer()} | {flags, integer()}
55
56 See external documentation.
57
58 addCatalog(This, SzDomain) -> boolean()
59
60 Types:
61
62 This = wxLocale()
63 SzDomain = unicode:chardata()
64
65 See external documentation.
66
67 addCatalog(This, SzDomain, MsgIdLanguage, MsgIdCharset) -> boolean()
68
69 Types:
70
71 This = wxLocale()
72 SzDomain = unicode:chardata()
73 MsgIdLanguage = wx:wx_enum()
74 MsgIdCharset = unicode:chardata()
75
76 See external documentation.
77 MsgIdLanguage = ?wxLANGUAGE_DEFAULT | ?wxLANGUAGE_UNKNOWN |
78 ?wxLANGUAGE_ABKHAZIAN | ?wxLANGUAGE_AFAR | ?wxLANGUAGE_AFRIKAANS
79 | ?wxLANGUAGE_ALBANIAN | ?wxLANGUAGE_AMHARIC | ?wxLANGUAGE_ARA‐
80 BIC | ?wxLANGUAGE_ARABIC_ALGERIA | ?wxLANGUAGE_ARABIC_BAHRAIN |
81 ?wxLANGUAGE_ARABIC_EGYPT | ?wxLANGUAGE_ARABIC_IRAQ | ?wxLAN‐
82 GUAGE_ARABIC_JORDAN | ?wxLANGUAGE_ARABIC_KUWAIT | ?wxLAN‐
83 GUAGE_ARABIC_LEBANON | ?wxLANGUAGE_ARABIC_LIBYA | ?wxLAN‐
84 GUAGE_ARABIC_MOROCCO | ?wxLANGUAGE_ARABIC_OMAN | ?wxLAN‐
85 GUAGE_ARABIC_QATAR | ?wxLANGUAGE_ARABIC_SAUDI_ARABIA | ?wxLAN‐
86 GUAGE_ARABIC_SUDAN | ?wxLANGUAGE_ARABIC_SYRIA | ?wxLANGUAGE_ARA‐
87 BIC_TUNISIA | ?wxLANGUAGE_ARABIC_UAE | ?wxLANGUAGE_ARABIC_YEMEN
88 | ?wxLANGUAGE_ARMENIAN | ?wxLANGUAGE_ASSAMESE | ?wxLANGUAGE_AY‐
89 MARA | ?wxLANGUAGE_AZERI | ?wxLANGUAGE_AZERI_CYRILLIC | ?wxLAN‐
90 GUAGE_AZERI_LATIN | ?wxLANGUAGE_BASHKIR | ?wxLANGUAGE_BASQUE |
91 ?wxLANGUAGE_BELARUSIAN | ?wxLANGUAGE_BENGALI | ?wxLAN‐
92 GUAGE_BHUTANI | ?wxLANGUAGE_BIHARI | ?wxLANGUAGE_BISLAMA |
93 ?wxLANGUAGE_BRETON | ?wxLANGUAGE_BULGARIAN | ?wxLANGUAGE_BURMESE
94 | ?wxLANGUAGE_CAMBODIAN | ?wxLANGUAGE_CATALAN | ?wxLANGUAGE_CHI‐
95 NESE | ?wxLANGUAGE_CHINESE_SIMPLIFIED | ?wxLANGUAGE_CHINESE_TRA‐
96 DITIONAL | ?wxLANGUAGE_CHINESE_HONGKONG | ?wxLANGUAGE_CHI‐
97 NESE_MACAU | ?wxLANGUAGE_CHINESE_SINGAPORE | ?wxLANGUAGE_CHI‐
98 NESE_TAIWAN | ?wxLANGUAGE_CORSICAN | ?wxLANGUAGE_CROATIAN |
99 ?wxLANGUAGE_CZECH | ?wxLANGUAGE_DANISH | ?wxLANGUAGE_DUTCH |
100 ?wxLANGUAGE_DUTCH_BELGIAN | ?wxLANGUAGE_ENGLISH | ?wxLAN‐
101 GUAGE_ENGLISH_UK | ?wxLANGUAGE_ENGLISH_US | ?wxLANGUAGE_ENG‐
102 LISH_AUSTRALIA | ?wxLANGUAGE_ENGLISH_BELIZE | ?wxLANGUAGE_ENG‐
103 LISH_BOTSWANA | ?wxLANGUAGE_ENGLISH_CANADA | ?wxLANGUAGE_ENG‐
104 LISH_CARIBBEAN | ?wxLANGUAGE_ENGLISH_DENMARK | ?wxLANGUAGE_ENG‐
105 LISH_EIRE | ?wxLANGUAGE_ENGLISH_JAMAICA | ?wxLANGUAGE_ENG‐
106 LISH_NEW_ZEALAND | ?wxLANGUAGE_ENGLISH_PHILIPPINES | ?wxLAN‐
107 GUAGE_ENGLISH_SOUTH_AFRICA | ?wxLANGUAGE_ENGLISH_TRINIDAD |
108 ?wxLANGUAGE_ENGLISH_ZIMBABWE | ?wxLANGUAGE_ESPERANTO | ?wxLAN‐
109 GUAGE_ESTONIAN | ?wxLANGUAGE_FAEROESE | ?wxLANGUAGE_FARSI |
110 ?wxLANGUAGE_FIJI | ?wxLANGUAGE_FINNISH | ?wxLANGUAGE_FRENCH |
111 ?wxLANGUAGE_FRENCH_BELGIAN | ?wxLANGUAGE_FRENCH_CANADIAN |
112 ?wxLANGUAGE_FRENCH_LUXEMBOURG | ?wxLANGUAGE_FRENCH_MONACO |
113 ?wxLANGUAGE_FRENCH_SWISS | ?wxLANGUAGE_FRISIAN | ?wxLAN‐
114 GUAGE_GALICIAN | ?wxLANGUAGE_GEORGIAN | ?wxLANGUAGE_GERMAN |
115 ?wxLANGUAGE_GERMAN_AUSTRIAN | ?wxLANGUAGE_GERMAN_BELGIUM |
116 ?wxLANGUAGE_GERMAN_LIECHTENSTEIN | ?wxLANGUAGE_GERMAN_LUXEMBOURG
117 | ?wxLANGUAGE_GERMAN_SWISS | ?wxLANGUAGE_GREEK | ?wxLAN‐
118 GUAGE_GREENLANDIC | ?wxLANGUAGE_GUARANI | ?wxLANGUAGE_GUJARATI |
119 ?wxLANGUAGE_HAUSA | ?wxLANGUAGE_HEBREW | ?wxLANGUAGE_HINDI |
120 ?wxLANGUAGE_HUNGARIAN | ?wxLANGUAGE_ICELANDIC | ?wxLANGUAGE_IN‐
121 DONESIAN | ?wxLANGUAGE_INTERLINGUA | ?wxLANGUAGE_INTERLINGUE |
122 ?wxLANGUAGE_INUKTITUT | ?wxLANGUAGE_INUPIAK | ?wxLANGUAGE_IRISH
123 | ?wxLANGUAGE_ITALIAN | ?wxLANGUAGE_ITALIAN_SWISS | ?wxLAN‐
124 GUAGE_JAPANESE | ?wxLANGUAGE_JAVANESE | ?wxLANGUAGE_KANNADA |
125 ?wxLANGUAGE_KASHMIRI | ?wxLANGUAGE_KASHMIRI_INDIA | ?wxLAN‐
126 GUAGE_KAZAKH | ?wxLANGUAGE_KERNEWEK | ?wxLANGUAGE_KINYARWANDA |
127 ?wxLANGUAGE_KIRGHIZ | ?wxLANGUAGE_KIRUNDI | ?wxLANGUAGE_KONKANI
128 | ?wxLANGUAGE_KOREAN | ?wxLANGUAGE_KURDISH | ?wxLANGUAGE_LAOTH‐
129 IAN | ?wxLANGUAGE_LATIN | ?wxLANGUAGE_LATVIAN | ?wxLANGUAGE_LIN‐
130 GALA | ?wxLANGUAGE_LITHUANIAN | ?wxLANGUAGE_MACEDONIAN | ?wxLAN‐
131 GUAGE_MALAGASY | ?wxLANGUAGE_MALAY | ?wxLANGUAGE_MALAYALAM |
132 ?wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM | ?wxLANGUAGE_MALAY_MALAYSIA
133 | ?wxLANGUAGE_MALTESE | ?wxLANGUAGE_MANIPURI | ?wxLANGUAGE_MAORI
134 | ?wxLANGUAGE_MARATHI | ?wxLANGUAGE_MOLDAVIAN | ?wxLANGUAGE_MON‐
135 GOLIAN | ?wxLANGUAGE_NAURU | ?wxLANGUAGE_NEPALI | ?wxLAN‐
136 GUAGE_NEPALI_INDIA | ?wxLANGUAGE_NORWEGIAN_BOKMAL | ?wxLAN‐
137 GUAGE_NORWEGIAN_NYNORSK | ?wxLANGUAGE_OCCITAN | ?wxLAN‐
138 GUAGE_ORIYA | ?wxLANGUAGE_OROMO | ?wxLANGUAGE_PASHTO | ?wxLAN‐
139 GUAGE_POLISH | ?wxLANGUAGE_PORTUGUESE | ?wxLANGUAGE_POR‐
140 TUGUESE_BRAZILIAN | ?wxLANGUAGE_PUNJABI | ?wxLANGUAGE_QUECHUA |
141 ?wxLANGUAGE_RHAETO_ROMANCE | ?wxLANGUAGE_ROMANIAN | ?wxLAN‐
142 GUAGE_RUSSIAN | ?wxLANGUAGE_RUSSIAN_UKRAINE | ?wxLANGUAGE_SAMOAN
143 | ?wxLANGUAGE_SANGHO | ?wxLANGUAGE_SANSKRIT | ?wxLAN‐
144 GUAGE_SCOTS_GAELIC | ?wxLANGUAGE_SERBIAN | ?wxLANGUAGE_SER‐
145 BIAN_CYRILLIC | ?wxLANGUAGE_SERBIAN_LATIN | ?wxLAN‐
146 GUAGE_SERBO_CROATIAN | ?wxLANGUAGE_SESOTHO | ?wxLAN‐
147 GUAGE_SETSWANA | ?wxLANGUAGE_SHONA | ?wxLANGUAGE_SINDHI |
148 ?wxLANGUAGE_SINHALESE | ?wxLANGUAGE_SISWATI | ?wxLANGUAGE_SLOVAK
149 | ?wxLANGUAGE_SLOVENIAN | ?wxLANGUAGE_SOMALI | ?wxLANGUAGE_SPAN‐
150 ISH | ?wxLANGUAGE_SPANISH_ARGENTINA | ?wxLANGUAGE_SPANISH_BO‐
151 LIVIA | ?wxLANGUAGE_SPANISH_CHILE | ?wxLANGUAGE_SPANISH_COLOMBIA
152 | ?wxLANGUAGE_SPANISH_COSTA_RICA | ?wxLANGUAGE_SPANISH_DOMINI‐
153 CAN_REPUBLIC | ?wxLANGUAGE_SPANISH_ECUADOR | ?wxLANGUAGE_SPAN‐
154 ISH_EL_SALVADOR | ?wxLANGUAGE_SPANISH_GUATEMALA | ?wxLAN‐
155 GUAGE_SPANISH_HONDURAS | ?wxLANGUAGE_SPANISH_MEXICAN | ?wxLAN‐
156 GUAGE_SPANISH_MODERN | ?wxLANGUAGE_SPANISH_NICARAGUA | ?wxLAN‐
157 GUAGE_SPANISH_PANAMA | ?wxLANGUAGE_SPANISH_PARAGUAY | ?wxLAN‐
158 GUAGE_SPANISH_PERU | ?wxLANGUAGE_SPANISH_PUERTO_RICO | ?wxLAN‐
159 GUAGE_SPANISH_URUGUAY | ?wxLANGUAGE_SPANISH_US | ?wxLAN‐
160 GUAGE_SPANISH_VENEZUELA | ?wxLANGUAGE_SUNDANESE | ?wxLAN‐
161 GUAGE_SWAHILI | ?wxLANGUAGE_SWEDISH | ?wxLANGUAGE_SWEDISH_FIN‐
162 LAND | ?wxLANGUAGE_TAGALOG | ?wxLANGUAGE_TAJIK | ?wxLAN‐
163 GUAGE_TAMIL | ?wxLANGUAGE_TATAR | ?wxLANGUAGE_TELUGU | ?wxLAN‐
164 GUAGE_THAI | ?wxLANGUAGE_TIBETAN | ?wxLANGUAGE_TIGRINYA |
165 ?wxLANGUAGE_TONGA | ?wxLANGUAGE_TSONGA | ?wxLANGUAGE_TURKISH |
166 ?wxLANGUAGE_TURKMEN | ?wxLANGUAGE_TWI | ?wxLANGUAGE_UIGHUR |
167 ?wxLANGUAGE_UKRAINIAN | ?wxLANGUAGE_URDU | ?wxLANGUAGE_URDU_IN‐
168 DIA | ?wxLANGUAGE_URDU_PAKISTAN | ?wxLANGUAGE_UZBEK | ?wxLAN‐
169 GUAGE_UZBEK_CYRILLIC | ?wxLANGUAGE_UZBEK_LATIN | ?wxLAN‐
170 GUAGE_VIETNAMESE | ?wxLANGUAGE_VOLAPUK | ?wxLANGUAGE_WELSH |
171 ?wxLANGUAGE_WOLOF | ?wxLANGUAGE_XHOSA | ?wxLANGUAGE_YIDDISH |
172 ?wxLANGUAGE_YORUBA | ?wxLANGUAGE_ZHUANG | ?wxLANGUAGE_ZULU |
173 ?wxLANGUAGE_USER_DEFINED | ?wxLANGUAGE_VALENCIAN | ?wxLAN‐
174 GUAGE_SAMI
175
176 addCatalogLookupPathPrefix(Prefix) -> ok
177
178 Types:
179
180 Prefix = unicode:chardata()
181
182 See external documentation.
183
184 getCanonicalName(This) -> unicode:charlist()
185
186 Types:
187
188 This = wxLocale()
189
190 See external documentation.
191
192 getLanguage(This) -> integer()
193
194 Types:
195
196 This = wxLocale()
197
198 See external documentation.
199
200 getLanguageName(Lang) -> unicode:charlist()
201
202 Types:
203
204 Lang = integer()
205
206 See external documentation.
207
208 getLocale(This) -> unicode:charlist()
209
210 Types:
211
212 This = wxLocale()
213
214 See external documentation.
215
216 getName(This) -> unicode:charlist()
217
218 Types:
219
220 This = wxLocale()
221
222 See external documentation.
223
224 getString(This, SzOrigString) -> unicode:charlist()
225
226 Types:
227
228 This = wxLocale()
229 SzOrigString = unicode:chardata()
230
231 Equivalent to getString(This, SzOrigString, []).
232
233 getString(This, SzOrigString, Options::[Option]) -> unicode:charlist()
234
235 Types:
236
237 This = wxLocale()
238 SzOrigString = unicode:chardata()
239 Option = {szDomain, unicode:chardata()}
240
241 See external documentation.
242
243 getString(This, SzOrigString, SzOrigString2, N) -> unicode:charlist()
244
245 Types:
246
247 This = wxLocale()
248 SzOrigString = unicode:chardata()
249 SzOrigString2 = unicode:chardata()
250 N = integer()
251
252 Equivalent to getString(This, SzOrigString, SzOrigString2, N,
253 []).
254
255 getString(This, SzOrigString, SzOrigString2, N, Options::[Option]) ->
256 unicode:charlist()
257
258 Types:
259
260 This = wxLocale()
261 SzOrigString = unicode:chardata()
262 SzOrigString2 = unicode:chardata()
263 N = integer()
264 Option = {szDomain, unicode:chardata()}
265
266 See external documentation.
267
268 getHeaderValue(This, SzHeader) -> unicode:charlist()
269
270 Types:
271
272 This = wxLocale()
273 SzHeader = unicode:chardata()
274
275 Equivalent to getHeaderValue(This, SzHeader, []).
276
277 getHeaderValue(This, SzHeader, Options::[Option]) -> unicode:charlist()
278
279 Types:
280
281 This = wxLocale()
282 SzHeader = unicode:chardata()
283 Option = {szDomain, unicode:chardata()}
284
285 See external documentation.
286
287 getSysName(This) -> unicode:charlist()
288
289 Types:
290
291 This = wxLocale()
292
293 See external documentation.
294
295 getSystemEncoding() -> wx:wx_enum()
296
297 See external documentation.
298 Res = ?wxFONTENCODING_SYSTEM | ?wxFONTENCODING_DEFAULT | ?wx‐
299 FONTENCODING_ISO8859_1 | ?wxFONTENCODING_ISO8859_2 | ?wx‐
300 FONTENCODING_ISO8859_3 | ?wxFONTENCODING_ISO8859_4 | ?wx‐
301 FONTENCODING_ISO8859_5 | ?wxFONTENCODING_ISO8859_6 | ?wx‐
302 FONTENCODING_ISO8859_7 | ?wxFONTENCODING_ISO8859_8 | ?wx‐
303 FONTENCODING_ISO8859_9 | ?wxFONTENCODING_ISO8859_10 | ?wx‐
304 FONTENCODING_ISO8859_11 | ?wxFONTENCODING_ISO8859_12 | ?wx‐
305 FONTENCODING_ISO8859_13 | ?wxFONTENCODING_ISO8859_14 | ?wx‐
306 FONTENCODING_ISO8859_15 | ?wxFONTENCODING_ISO8859_MAX | ?wx‐
307 FONTENCODING_KOI8 | ?wxFONTENCODING_KOI8_U | ?wxFONTENCODING_AL‐
308 TERNATIVE | ?wxFONTENCODING_BULGARIAN | ?wxFONTENCODING_CP437 |
309 ?wxFONTENCODING_CP850 | ?wxFONTENCODING_CP852 | ?wxFONTENCOD‐
310 ING_CP855 | ?wxFONTENCODING_CP866 | ?wxFONTENCODING_CP874 | ?wx‐
311 FONTENCODING_CP932 | ?wxFONTENCODING_CP936 | ?wxFONTENCOD‐
312 ING_CP949 | ?wxFONTENCODING_CP950 | ?wxFONTENCODING_CP1250 |
313 ?wxFONTENCODING_CP1251 | ?wxFONTENCODING_CP1252 | ?wxFONTENCOD‐
314 ING_CP1253 | ?wxFONTENCODING_CP1254 | ?wxFONTENCODING_CP1255 |
315 ?wxFONTENCODING_CP1256 | ?wxFONTENCODING_CP1257 | ?wxFONTENCOD‐
316 ING_CP12_MAX | ?wxFONTENCODING_UTF7 | ?wxFONTENCODING_UTF8 |
317 ?wxFONTENCODING_EUC_JP | ?wxFONTENCODING_UTF16BE | ?wxFONTENCOD‐
318 ING_UTF16LE | ?wxFONTENCODING_UTF32BE | ?wxFONTENCODING_UTF32LE
319 | ?wxFONTENCODING_MACROMAN | ?wxFONTENCODING_MACJAPANESE | ?wx‐
320 FONTENCODING_MACCHINESETRAD | ?wxFONTENCODING_MACKOREAN | ?wx‐
321 FONTENCODING_MACARABIC | ?wxFONTENCODING_MACHEBREW | ?wx‐
322 FONTENCODING_MACGREEK | ?wxFONTENCODING_MACCYRILLIC | ?wx‐
323 FONTENCODING_MACDEVANAGARI | ?wxFONTENCODING_MACGURMUKHI | ?wx‐
324 FONTENCODING_MACGUJARATI | ?wxFONTENCODING_MACORIYA | ?wx‐
325 FONTENCODING_MACBENGALI | ?wxFONTENCODING_MACTAMIL | ?wx‐
326 FONTENCODING_MACTELUGU | ?wxFONTENCODING_MACKANNADA | ?wx‐
327 FONTENCODING_MACMALAJALAM | ?wxFONTENCODING_MACSINHALESE | ?wx‐
328 FONTENCODING_MACBURMESE | ?wxFONTENCODING_MACKHMER | ?wx‐
329 FONTENCODING_MACTHAI | ?wxFONTENCODING_MACLAOTIAN | ?wx‐
330 FONTENCODING_MACGEORGIAN | ?wxFONTENCODING_MACARMENIAN | ?wx‐
331 FONTENCODING_MACCHINESESIMP | ?wxFONTENCODING_MACTIBETAN | ?wx‐
332 FONTENCODING_MACMONGOLIAN | ?wxFONTENCODING_MACETHIOPIC | ?wx‐
333 FONTENCODING_MACCENTRALEUR | ?wxFONTENCODING_MACVIATNAMESE |
334 ?wxFONTENCODING_MACARABICEXT | ?wxFONTENCODING_MACSYMBOL | ?wx‐
335 FONTENCODING_MACDINGBATS | ?wxFONTENCODING_MACTURKISH | ?wx‐
336 FONTENCODING_MACCROATIAN | ?wxFONTENCODING_MACICELANDIC | ?wx‐
337 FONTENCODING_MACROMANIAN | ?wxFONTENCODING_MACCELTIC | ?wx‐
338 FONTENCODING_MACGAELIC | ?wxFONTENCODING_MACKEYBOARD | ?wx‐
339 FONTENCODING_MAX | ?wxFONTENCODING_MACMIN | ?wxFONTENCODING_MAC‐
340 MAX | ?wxFONTENCODING_UTF16 | ?wxFONTENCODING_UTF32 | ?wx‐
341 FONTENCODING_UNICODE | ?wxFONTENCODING_GB2312 | ?wxFONTENCOD‐
342 ING_BIG5 | ?wxFONTENCODING_SHIFT_JIS
343
344 getSystemEncodingName() -> unicode:charlist()
345
346 See external documentation.
347
348 getSystemLanguage() -> integer()
349
350 See external documentation.
351
352 isLoaded(This, SzDomain) -> boolean()
353
354 Types:
355
356 This = wxLocale()
357 SzDomain = unicode:chardata()
358
359 See external documentation.
360
361 isOk(This) -> boolean()
362
363 Types:
364
365 This = wxLocale()
366
367 See external documentation.
368
369 destroy(This::wxLocale()) -> ok
370
371 Destroys this object, do not use object again
372
374 <>
375
376
377
378 wx 1.9.3.1 wxLocale(3)