* doc/en/lang.txt
* include/hblang.hbx
* src/lang/be.c
* src/lang/bg.c
* src/lang/ca.c
* src/lang/cs.c
* src/lang/de.c
* src/lang/el.c
* src/lang/en_tpl.c
* src/lang/eo.c
* src/lang/es.c
* src/lang/eu.c
* src/lang/fr.c
* src/lang/gl.c
* src/lang/he.c
* src/lang/hr.c
* src/lang/hu.c
* src/lang/id.c
* src/lang/is.c
* src/lang/it.c
* src/lang/ko.c
* src/lang/lt.c
* src/lang/nl.c
* src/lang/pl.c
* src/lang/pt.c
* src/lang/ro.c
* src/lang/ru.c
* src/lang/sk.c
* src/lang/sl.c
* src/lang/sr_cyr.c
* src/lang/sr_lat.c
* src/lang/sv.c
* src/lang/tr.c
* src/lang/uk.c
* src/lang/zh_sim.c
* src/lang/zh_tra.c
* src/rtl/langcomp.prg
* src/rtl/langlgcy.prg
* renamed UTF8 language modules internally. The new
names are the two letter ISO language code in
lowercase. With postfixes where required. For
dialects and variants, it's now possible to use
"LLDD", "LLDD_VVV" or "LL_VVV" formats, too.
See the current list in
doc/en/lang.txt
! Ukrainian had an "UE" prefix before, now it got
corrected to "UK", which is it's official ISO code.
+ HB_LANGSELECT() now accepts second parameter: <cCodepage>
to specify the CP into which the translations should
be converted. This parameter works for legacy lang module
IDs, too. The default is hb_cdpSelect() (or legacy CP
for legacy language module IDs).
+ extended the way compatibility is preserved. The
problem is with legacy language modules with a two
character ID only (ie. without CP specification),
this is the list:
CA, DE, EL, EO, ES, EU, FR, GL, IT, PT, RO, SV
If these language IDs are passed in UPPERCASE as above,
they will be handled in compatibility mode and legacy
default CP selected.
Compatibility code is marked with HB_LEGACY_LEVEL5, which
means it will stay in next two stable releases.
To depart from compatibility (recommended), use the new
lowercase flavor: hb_langSelect( "pl" ), hb_langSelect( "pt" ),
hb_langSelect( "sr_cyr" ), or use standard language
IDs: hb_langSelect( "hu-HU" )
Or simply use this code:
---
#include "hbextlng.ch"
hb_langSelect( hb_UserLang() [, <CP> ] ) /* if <CP> is not specified, hb_cdpSelect() will be used */
---
71 lines
2.0 KiB
Plaintext
71 lines
2.0 KiB
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
/* NOTE: Following comments are control commands for the generator. */
|
|
/* Do not edit them unless you know what you are doing. */
|
|
/* Syntax: // HB_FUNC_INCLUDE <func> */
|
|
/* // HB_FUNC_EXCLUDE <func> */
|
|
/* -------------------------------------------------------------------- */
|
|
|
|
// HB_FUNC_INCLUDE HB_LANG_*
|
|
// HB_FUNC_EXCLUDE HB_LANG_?????
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
/* WARNING: Automatically generated code below. DO NOT EDIT! */
|
|
/* Regenerate with HB_REBUILD_EXTERN=yes while using GCC */
|
|
/* compiler family. [vszakats] */
|
|
/* -------------------------------------------------------------------- */
|
|
|
|
#ifndef __HBEXTERN_CH__HBLANG__
|
|
#define __HBEXTERN_CH__HBLANG__
|
|
|
|
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__HBLANG__ANNOUNCE )
|
|
ANNOUNCE __HBEXTERN__HBLANG__
|
|
#endif
|
|
|
|
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__HBLANG__REQUEST )
|
|
#command DYNAMIC <fncs,...> => EXTERNAL <fncs>
|
|
#endif
|
|
|
|
DYNAMIC HB_LANG_BE
|
|
DYNAMIC HB_LANG_BG
|
|
DYNAMIC HB_LANG_CA
|
|
DYNAMIC HB_LANG_CS
|
|
DYNAMIC HB_LANG_DE
|
|
DYNAMIC HB_LANG_EL
|
|
DYNAMIC HB_LANG_EO
|
|
DYNAMIC HB_LANG_ES
|
|
DYNAMIC HB_LANG_EU
|
|
DYNAMIC HB_LANG_FR
|
|
DYNAMIC HB_LANG_GL
|
|
DYNAMIC HB_LANG_HE
|
|
DYNAMIC HB_LANG_HR
|
|
DYNAMIC HB_LANG_HU
|
|
DYNAMIC HB_LANG_ID
|
|
DYNAMIC HB_LANG_IS
|
|
DYNAMIC HB_LANG_IT
|
|
DYNAMIC HB_LANG_KO
|
|
DYNAMIC HB_LANG_LT
|
|
DYNAMIC HB_LANG_NL
|
|
DYNAMIC HB_LANG_PL
|
|
DYNAMIC HB_LANG_PT
|
|
DYNAMIC HB_LANG_RO
|
|
DYNAMIC HB_LANG_RU
|
|
DYNAMIC HB_LANG_SK
|
|
DYNAMIC HB_LANG_SL
|
|
DYNAMIC HB_LANG_SR_LAT
|
|
DYNAMIC HB_LANG_SR_CYR
|
|
DYNAMIC HB_LANG_SV
|
|
DYNAMIC HB_LANG_TR
|
|
DYNAMIC HB_LANG_UK
|
|
DYNAMIC HB_LANG_ZH_SIM
|
|
DYNAMIC HB_LANG_ZH_TRA
|
|
|
|
#if defined( __HBEXTREQ__ ) .OR. defined( __HBEXTERN__HBLANG__REQUEST )
|
|
#uncommand DYNAMIC <fncs,...> => EXTERNAL <fncs>
|
|
#endif
|
|
|
|
#endif
|