support for lang in periscoped config, fallback on periscope config