Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add taxonomies for all languages in config.toml #214

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

gpesquero
Copy link
Collaborator

Added code in config.toml for all languages:

# Language: country-code (English language name / Locale language name)
taxonomies = [
  {name = "faq", feed = false},
]

These languages shall be ordered in config.toml file in future PRs...

[languages.it]
taxonomies = [
{name = "faq", feed = false},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

  1. How it will work if every language has a localized name instead of "faq" (e.g. a synonym of "help" for example)?
  2. What is generated now with this change in the root FAQ page for translations?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. How it will work if every language has a localized name instead of "faq" (e.g. a synonym of "help" for example)?

As far as I understand, this "faq" taxonomy string shall be stated the same here for all languages for the FAQs pages to work. And each language can then state the name of the FAQ taxonomy for every FAQ page.

For example in content/faq/text-to-speech-android-tts/index.ru.md file:

  taxonomies:
  faq: ["Голосовые подсказки"]

I'm no expert in this matter. @strump can most probably enlighten us here...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2. What is generated now with this change in the root FAQ page for translations?

There's no change after this. As the matching content/faq/_index.XX.md files are still missing, the default English root FAQ page is shown.

Copy link
Member

@biodranik biodranik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¡Gracias!

@biodranik biodranik merged commit e546756 into organicmaps:master Mar 10, 2024
2 checks passed
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.

2 participants