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

default-lang logic #3872

Open
domhaas opened this issue Nov 20, 2024 · 0 comments
Open

default-lang logic #3872

domhaas opened this issue Nov 20, 2024 · 0 comments

Comments

@domhaas
Copy link

domhaas commented Nov 20, 2024

I'm a bit confused about the language settings:
I have two languages: de,en - de should be the default language.

Everything works so far, but when I look at the context info for a page, ‘de’ is shown in red, although this is actually the default language.

This is confusing for my customer because he thinks something is missing in the translations.

image

Config:

languages:
  supported:
    - de
    - en
  default_lang: null
  include_default_lang: false
  include_default_lang_file_extension: false
  translations: true
  translations_fallback: true
  session_store_active: false
  http_accept_language: false
  override_locale: false
  pages_fallback_only: false
  debug: false

There are two files per folder:
default.md
default.en.md

If I change the settings and create a default.de.md, then ‘de’ is green but the default language is red.

Not any better.

Thanks for a quick tip.

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

No branches or pull requests

1 participant