Skip to content

Comments

Global configuration option to select stored languages#137

Open
Joxit wants to merge 1 commit intomasterfrom
joxit/feat/stored-languages
Open

Global configuration option to select stored languages#137
Joxit wants to merge 1 commit intomasterfrom
joxit/feat/stored-languages

Conversation

@Joxit
Copy link
Member

@Joxit Joxit commented Jan 28, 2021

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: pelias/api#1505 (comment)
closes: pelias/pelias#867

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: global configuration option to select stored languages

1 participant