Get posts by language in Polylang plugin

If you use the query_post function, I think you can just add the ‘lang’ parameter:

$args_menu = array (
   ...
   'lang' => 'it',
   ...
);

See : http://wp.primacom.cz/en/enplugins/how-to-display-posts-only-in-one-language-in-polylang-plugin/

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