Translate custom order status through a filter?

Recheck your filter code closely. You are modifying $name but returning $status_name which is undefined. If you had debugging enabled, you should have seen the debug message telling you that $status_name is an undefined variable

Simply change

return $status_name;

to

return $name;

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