Comments (2)
Hi Juliet!
Thank you for raising these questions and pointing out that source of confusion in such a clear and guided manner, this is always very much appreciated! Based on a quick review of the spec text, our interpretation is that all language code fields (agency.agency_lang
, translations.language
, feed_info.default_lang
and feed_info.default_lang
) in the spec, should use the IETF BCP 47 standard as stated in the Field Types section at the top of the Reference document.
The mention of the ISO 639-2 standard seems to refer only to the use of the mul
code in feed_info.feed_lang
, which is applicable in case of feeds containing information in multiple languages within the same dataset (i.e. translations aside), see PR#180 for further context.
This seems to be the main source of confusion, perhaps a simple solution could be to remove the mention of the ISO 639-2 standard in the description for feed_info.feed_lang
, leaving the use of the mul
code intact. Alternatively, the IETF BCP 47 standard could be mentioned in each language code field to provide additional clarity, but it could also be argued that this would be redundant if specified in Field Types.
I wonder if other Producers/Consumers have been interpreting this in the same way and which language tags they usually refer to when they write GTFS and/or when using in their validators.
from transit.
Thank you for pointing out an inconsistency in the GTFS documentation in your first issue! Itβs contributions like yours that help us make the spec more accessible. π
from transit.
Related Issues (20)
- [DRT] After the adoption of GTFS-Flex, stops.txt should no longer be a required file. HOT 1
- Using StopTimeEvent.uncertainty for non-timepoints HOT 4
- Addition of vehicles.txt to GTFS static HOT 11
- Make Shapes a recommended file in GTFS HOT 11
- Make bikes_allowed a recommended field in GTFS HOT 12
- Global trip id HOT 17
- The recommended discussion HOT 1
- Proposed Best Practice: always including trip_id in TripDescriptor for SCHEDULED trips HOT 8
- Add cars_allowed field to trips.txt HOT 35
- Inconsistency in trip update example vs. reference documentation? HOT 1
- Proposed Best Practice: clarify intended use for CANCELED/SKIPPED TripUpdates VS NO_SERVICE Alerts. HOT 7
- Center coordinate or Bounding box definition in feed_info.txt HOT 6
- GTFS-R : destination display (dynamic)
- Best practice for the use of shapes HOT 6
- Sample Feed HOT 1
- Make headsigns a recommended GTFS field HOT 10
- Scheduled reinforcement trips HOT 18
- It is impossible to specify a different arrival_time and departure_time in a GTFS-RT trip modification object HOT 3
- Have a way to explicitly communicate that a trip does not have any headsigns HOT 2
- Allow specifying both the scheduled time and delay in StopTimeEvent for added and duplicated trips. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transit.