TranslatedString Struct Reference

An internationalized message containing per-language versions of a snippet of text or a URL. More...

Classes

struct  Translation
 

Public Attributes

repeated Translation translation = 1
 At least one translation must be provided.
 
extensions to
 The extensions namespace allows 3rd-party developers to extend the GTFS-realtime specification in order to add and evaluate new features and modifications to the spec. More...
 

Detailed Description

An internationalized message containing per-language versions of a snippet of text or a URL.

One of the strings from a message will be picked up. The resolution proceeds as follows:

  1. If the UI language matches the language code of a translation, the first matching translation is picked.
  2. If a default UI language (e.g., English) matches the language code of a translation, the first matching translation is picked.
  3. If some translation has an unspecified language code, that translation is picked.

Member Data Documentation

extensions TranslatedString::to

The extensions namespace allows 3rd-party developers to extend the GTFS-realtime specification in order to add and evaluate new features and modifications to the spec.


The documentation for this struct was generated from the following file:
  • gtfs-realtime.proto