Page 1 of 1

MariaDB error messages

Posted: Mon Jul 03, 2017 5:19 pm
by Wanderson
Hi,

Why after this: ocn:SetMsgLang( "pt_BR" ) mariaDB returns error messages in english? I want set the Brazil portuguese messages.

Thanks in advance.

Re: MariaDB error messages

Posted: Sun Jul 09, 2017 4:16 pm
by nageswaragunupudi
Wanderson wrote:Hi,

Why after this: ocn:SetMsgLang( "pt_BR" ) mariaDB returns error messages in english? I want set the Brazil portuguese messages.

Thanks in advance.
Thanks for pointing out. This is due to a bug in the METHOD SetMsgLang(). Fixed now in FWH 17.07.

But you may set
FWSetLanguage( 4 ) before connecting to the server, then MsgLang() is automatically set to Portuguese when you open the connection.

Code: Select all

FWSetLanguage( 4 )
FWCONNECT oCn HOST <cHost> USER <cUser> .........

Re: MariaDB error messages

Posted: Mon Jul 10, 2017 1:23 pm
by Wanderson
nageswaragunupudi wrote:
Wanderson wrote:Hi,

Why after this: ocn:SetMsgLang( "pt_BR" ) mariaDB returns error messages in english? I want set the Brazil portuguese messages.

Thanks in advance.
Thanks for pointing out. This is due to a bug in the METHOD SetMsgLang(). Fixed now in FWH 17.07.

But you may set
FWSetLanguage( 4 ) before connecting to the server, then MsgLang() is automatically set to Portuguese when you open the connection.

Code: Select all

FWSetLanguage( 4 )
FWCONNECT oCn HOST <cHost> USER <cUser> .........
Thank you! I've been looking at the errsg.sys file from mariadb in the portuguese folder and a lot of the file is not translated, you know with which program I can translate the messages since I tried the notepad and the file gets corrupted.

Re: MariaDB error messages

Posted: Mon Jul 10, 2017 1:56 pm
by nageswaragunupudi

Re: MariaDB error messages

Posted: Mon Jul 10, 2017 4:49 pm
by Wanderson