move media_locale to top for templating, use for 404