Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.54
    Preparing search index...

    Module Translation Dictionary

    Static translation dictionary for Swedish parliamentary terms.

    Used by the post-processing step in generate-news-enhanced.ts to translate data-translate="true" spans containing Swedish text into the target language. Covers ministry names, party groups, committee names, document type prefixes, parliamentary procedure terms, budget/fiscal vocabulary, EU/international terms, geographic/regional terms, government agencies, legal terms, and policy domains.

    Supported languages: en, da, no, fi, de, fr, es, nl, ar, he, ja, ko, zh (Swedish 'sv' articles keep original text and only have the attribute removed.)

    Domain-specific sub-dictionaries (split for maintainability):

    • translation-dictionary-committee-names.ts โ€” institution + committee names
    • translation-dictionary-party-names.ts โ€” ministry + party group names
    • translation-dictionary-political-terms.ts โ€” procedure, budget, EU, legal, policy terms

    Type Aliases

    TranslationMap
    LanguageDictionary

    Variables

    DICTIONARIES

    Functions

    translateTerm
    translatePhrase
    translateSwedishContent