HMG 3.0.42

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
IMATECH
Posts: 188
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Re: HMG 3.0.42

Post by IMATECH »

Hi Rathinagiri !



I have found some problems on HMG translations ...

Because now in Harbour 3.2 When select Languages we can use any codepage...
Set_Language Return value as: "language.codepage" (and need to code for correc language and CP Messages Show )
*** Return expected for HMG is only "Language" ( ES, PT, EN, Etc...)



Samples for Portuguese Language ( I spect a value of: "pt.PT850" ):

REQUEST HB_LANG_PT
REQUEST HB_CODEPAGE_PT850

HB_CDPSELECT( "PT850" )

HB_LANGSELECT( 'PT' ) // Result is: pt.DE850

HB_LANGSELECT( hb_UserLang() ) // Result is: pt.DE850

HB_LANGSELECT( 'pt-BR' ) // First call result is: pt.DE850

HB_LANGSELECT( 'pt-BR' ) // Second call result is: pt.PT850

HB_LANGSELECT( 'PT', "PT850" ) // Result is: pt.PT850



Then I think needed alwais use: HB_LANGSELECT( 'PT', "PT850" )




files to fix:
i_lang.ch
h_controlmisc.prg
h_init.prg
h_windows.prg
HFCL\Source\gridprint.prg






Best regards
M., Ronaldo

By: IMATECH

Imation Tecnologia
JALMAG
Posts: 265
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: HMG 3.0.42

Post by JALMAG »

Best regards rathinagiri !
Post Reply