async def METHOD_NAME(self, plugin_ctx: AbstractCorpusPluginCtx, data: Union[CorpusInfo, BrokenCorpusInfo]):
    """
    Updates localized values from data (please note that not all
    the data are localized - e.g. paths to files) by a single variant
    given passed lang_code.
    """
    ans = copy.deepcopy(data)
    lang_code = plugin_ctx.user_lang.split('_')[0]
    desc = ans.metadata.desc
    ans.metadata.desc = desc[plugin_ctx.user_lang] if lang_code in desc else ''
    if isinstance(data, BrokenCorpusInfo):
        ans.description = 'An uninitialized corpus'
    else:
        ans.description = (await plugin_ctx.corpus_factory.get_info(ans.id)).description
    return ans