Update LanguageSupport to support localized 404 pages and fix issue with localUrl() function not working when 404 occurred.