InternationalizedText

Use InternationalizedText to represent multi-national text on a ballot.

Attributes

The following table describes the attributes for InternationalizedText:

Attribute Required? Type Description
label Optional string An informative label. For use as needed.

Elements

The following table describes the elements for InternationalizedText:

Element Multiplicity Type Description
Text 1 or more LanguageString A string of possibly non-English text. For more details, see LanguageString.

LanguageString

Attributes

The following table describes the attributes for LanguageString:

Attribute Required? Type Description
language Required language

Identifies the language. Values for language come from ISO 639. Some examples include the following:

  • en: English
  • fr: French
  • es: Spanish
  • zh: Chinese
  • ja: Japanese
  • ko: Korean

Examples

XML

    <Party objectId="par-jubilee">
      ...
      <Name>
        <Text language="de">Jubilee Alliance</Text>
        <Text language="en">Jubilee Alliance</Text>
        <Text language="es">Alianza del Jubileo</Text>
        <Text language="hi">जुबली गठबंधन</Text>
        <Text language="pt">Aliança jubilar</Text>
      </Name>
    </Party>
    <Person objectId="par862">
      <FullName>
        <Text language="de">Ayrton Senna da Silva</Text>
        <Text language="hi">एर्टन सेना डा सिल्वा</Text>
        <Text language="ja">アイルトン・セナ</Text>
        <Text language="pt">Ayrton Senna</Text>
        <Text language="es">Ayrton Senna</Text>
      </FullName>
      ...
    </Person>
    <Contest objectId="cc-000" xsi:type="CandidateContest">
      <BallotSelection objectId="cs001" xsi:type="CandidateSelection">
        <CandidateIds>can001</CandidateIds>
      </BallotSelection>
      <BallotSelection objectId="cs002" xsi:type="CandidateSelection">
        <CandidateIds>can002</CandidateIds>
      </BallotSelection>
      <BallotTitle>
        <Text language="de">Sitz auf Regionalebene</Text>
        <Text language="hi">निर्वाचन क्षेत्र की सीट</Text>
        <Text language="ja">選挙区議席</Text>
        <Text language="pt">Lugar a nível destrital</Text>
        <Text language="es">Escaño a nivel de circunscripción</Text>
      </BallotTitle>
      <ElectoralDistrictId>ru_0001</ElectoralDistrictId>
      <Name>Regional seat</Name>
      <VotesAllowed>1</VotesAllowed>
    </Contest>

JSON

    "Party": {
      "objectId": "par-jubilee",
      ...
      "Name": {
        "Text": [
          {
            "language": "de",
            "value": "Jubilee Alliance"
          },
          {
            "language": "en",
            "value": "Jubilee Alliance"
          },
          {
            "language": "es",
            "value": "Alianza del Jubileo"
          },
          {
            "language": "hi",
            "value": "जुबली गठबंधन"
          },
          {
            "language": "pt",
            "value": "Aliança jubilar"
          }
        ]
      }
    }
    "Person": {
      "objectId": "par862",
      "FullName": {
        "Text": [
          {
            "language": "de",
            "value": "Ayrton Senna da Silva"
          },
          {
            "language": "hi",
            "value": "एर्टन सेना डा सिल्वा"
          },
          {
            "language": "ja",
            "value": "アイルトン・セナ"
          },
          {
            "language": "pt",
            "value": "Ayrton Senna"
          },
          {
            "language": "es",
            "value": "Ayrton Senna"
          }
        ]
      },
      ...
    }
    "Contest": [
      {
        "@type": "CandidateContest",
        "objectId": "cc-000",
        "BallotSelection": [
          {
            "@type": "CandidateSelection",
            "objectId": "cs001",
            "CandidateIds": ["can001"]
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs002",
            "CandidateIds": ["can002"]
            ...
          }
        ],
        "BallotTitle": {
          "Text": [
            {
              "value": "Sitz auf Regionalebene",
              "language": "de"
            },
            {
              "value": "निर्वाचन क्षेत्र की सीट",
              "language": "hi"
            },
            {
              "value": "選挙区議席",
              "language": "ja"
            },
            {
              "value": "Lugar a nível destrital",
              "language": "pt"
            },
            {
              "value": "Escaño a nivel de circunscripción",
              "language": "es"
            }
          ]
        },
        "ElectoralDistrictId": "ru_0001",
        "Name": "Regional seat",
        "VotesAllowed": 1
      }
    ]