WordPress Translation not working for my theme

Confirm that the translation functions are being loaded. Sometimes, issues with function loading can prevent translations from working.

Basic example of loading translations in your theme’s functions.php file

function my_theme_load_textdomain() {
    load_theme_textdomain( 'my_theme', get_template_directory() . '/languages' );
}
add_action( 'after_setup_theme', 'my_theme_load_textdomain' );

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