from typing import List


def get_corpora_for_lang(parallel_corpora: List[str], lang: str) -> List[str]:
    """
    Fetches list of corpora that belong to given lang
    parallel_corpora: List[str] where each element is a str with the format
    "src_lang-tgt_lang:src_corpus,tgt_corpus"

    Returns [] if corpora for lang is not found
    """
    corpora = []
    for parallel_corpus_config in parallel_corpora:
        lang_pair, parallel_corpus = parallel_corpus_config.split(":")
        src_lang, tgt_lang = lang_pair.split("-")
        if src_lang == lang:
            corpora.append(parallel_corpus.split(",")[0])
        if tgt_lang == lang:
            corpora.append(parallel_corpus.split(",")[1])
    return corpora