MariaDB error messages

Post Reply
Wanderson
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

MariaDB error messages

Post 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.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: MariaDB error messages

Post 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> .........
Regards

G. N. Rao.
Hyderabad, India
Wanderson
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: MariaDB error messages

Post 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.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: MariaDB error messages

Post by nageswaragunupudi »

Regards

G. N. Rao.
Hyderabad, India
Wanderson
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: MariaDB error messages

Post by Wanderson »

Post Reply