activating language detection for doi when config.lang == 'fa'