InternationalizedText¶
InternationalizedText
allows for support of multiple languages for a string.
InternationalizedText
has an optional attribute label
, which allows the feed to refer
back to the original label for the information (e.g. if the contact information came from a
CSV, label
may refer to a row ID). Examples of InternationalizedText
can be seen in:
- Any element that extends ContestBase
- Any element that extends BallotSelectionBase
- Candidate
- ContactInformation
- Election
- ElectionAdministration
- Office
- Party
- Person
- PollingLocation
- Source
NOTE: Internationalized Text is not currently supported for CSV submissions. “
Tag | Data Type | Required? | Repeats? | Description | Error Handling |
---|---|---|---|---|---|
Text | LanguageString | Required | Repeats | Contains the translations of a particular string of text. | At least one valid Text must be
present for InternationalizedText to
be valid. If no valid Text is
present, the implementation is required
to ignore the InternationalizedText
element. |