yjlou / 2019-nCov

Use Google Maps Timeline data to compare with COVID-19 patient history location.

Home Page:https://pandemic.events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support multi-language data

Stimim opened this issue · comments

Try to support multi-language name / description, e.g.

{
  "name": {
    "zh-TW": "雲林東勢開安宮",
    "en-US": "Kai’an Temple"
  },
  "
}

When "name" is just a string, then we would just use it.
When current locale is not in "name", we can fallback to "en-US".