Change locale by detecting viewer’s browser language setting and let them choose prefered language after

You can get the browser language from the PHP global $_SERVER['HTTP_ACCEPT_LANGUAGE'] )

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)