pelias / model

Pelias data models
6 stars 17 forks source link

Global configuration option to select stored languages #137

Open Joxit opened 3 years ago

Joxit commented 3 years ago

The configuration is stored in pelias-config and is backward compatible.

Select your stored languages

{
  "imports": {
    "langs": ["en", "fr", "it", "nl"]
  }
}

Select your stored languages and override your default language

{
  "imports": {
    "langs": {
      "keep": ["en", "fr", "it", "nl"],
      "default": "fr"
  }
}

related: https://github.com/pelias/api/pull/1505#issuecomment-768383579 closes: pelias/pelias#867