implemented portal localization fallback