Hi,
Why after this: ocn:SetMsgLang( "pt_BR" ) mariaDB returns error messages in english? I want set the Brazil portuguese messages.
Thanks in advance.
MariaDB error messages
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: MariaDB error messages
Thanks for pointing out. This is due to a bug in the METHOD SetMsgLang(). Fixed now in FWH 17.07.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.
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
G. N. Rao.
Hyderabad, India
Re: MariaDB error messages
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.nageswaragunupudi wrote:Thanks for pointing out. This is due to a bug in the METHOD SetMsgLang(). Fixed now in FWH 17.07.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.
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> .........
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: MariaDB error messages
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: MariaDB error messages
Thank you!nageswaragunupudi wrote:https://dev.mysql.com/doc/internals/en/ ... dding.html