put textdomain loading in a hook