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:
- If the UI language matches the language code of a translation, the first matching translation is picked.
- If a default UI language (e.g., English) matches the language code of a translation, the first matching translation is picked.
- 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

1.8.11