my error messages is speaking french.
Posted by: peterkn (---.0.fullrate.dk)
Date: October 19, 2014 05:27PM

When I got an error in a script speak french.:
An exaple: Connect failed: Accès refusé pour l'utilisateur: 'root'@'@localhost' (mot de passe: OUI)

It is the individal error text there is an error. In the php.ini file there is a line: intl.default_locale = fr_FR
I have tried to make it to gb_GB or dk_DK (Danish), but it is stll french.

In the php-manual it says that Intl.default_locale not exists!!
I have PHP5.5.12 and MYSQLI5.6.17
What should i hve to do?

Options: ReplyQuote
Re: my error messages is speaking french.
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 19, 2014 08:34PM

These are MySQL error messages and thay are controlled from the my.ini file


Using the wampmanager menus do :-

left click wampmanage -> MySQL -> my.ini ( to edit my.ini )

Find this line

# Change your locale here !
lc-messages=fr_FR

Change it to
# Change your locale here !
lc-messages=en_GB

Or which every language you prefer

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.7 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: my error messages is speaking french.
Posted by: peterkn (---.0.fullrate.dk)
Date: October 21, 2014 08:54PM

Can I change it to Danish?
What is che code?

Options: ReplyQuote
Re: my error messages is speaking french.
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: October 21, 2014 09:44PM

Try

lc-messages=da_DK

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.1.7 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 6.3.10>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: my error messages is speaking french.
Posted by: peterkn (---.0.fullrate.dk)
Date: October 21, 2014 10:43PM

Than you, it Works!

Options: ReplyQuote


Sorry, only registered users may post in this forum.