getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.27k stars 167 forks source link

[3.6.0-rc.2] Language dropdown missing when adding languages manually #3888

Closed SebastianEberlein-JUNO closed 2 years ago

SebastianEberlein-JUNO commented 2 years ago

Describe the bug
When I manually add languages (as described here), the language dropdown no longer appears in the panel header on each page.

When I enable languages in the config (as described here), the language dropdown is displayed in the panel header.

To Reproduce
Steps to reproduce the behavior:

  1. Download plainkit
  2. Update to Kirby 3.6.0-rc.2
  3. Manually add php files for languages

Kirby Version
3.6.0-rc.2

afbora commented 2 years ago

For multi-language app, you need to have the languages option enabled in the config file and have added at least one language.

SebastianEberlein-JUNO commented 2 years ago

I’ve never enabled languages in the config before, because I do not want our clients to add or delete languages. In Kirby 3.5 and older, I just added the PHP files in /site/languages and the languages dropdown appeared.

afbora commented 2 years ago

To be honest, I didn't know that either 😅 I'm not sure if this is an expected breaking change, let's ask @bastianallgeier

Also now in 3.6 the language and system view are separated and you can now hide them from permissions:

https://getkirby.com/releases/3.6/features/language-view

bastianallgeier commented 2 years ago