EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...

    Function getLocalizedArticleType

    • Resolve a localized article type label with icon. Falls back to the humanised slug when a translation isn't available.

      Parameters

      • slug: string

        Raw article type slug (e.g. "motions", "week-ahead")

      • lang: LanguageCode

        Target language code

      Returns string

      Localized label with preceding emoji icon (e.g. "🗳️ Plenary Votes & Resolutions")