Check if there's a more appropriate hook to use instead of template_redirect
Add internationalization support