Default categories/topics in English despite German as default language in setup wizard

AI-generated summary

claas reported a bug where default categories and topics are created in English despite selecting German as the default language during the Discourse setup wizard. Although a German translation exists, the content remained in English after deployment on a Hetzner vServer. gerhard clarified that the language must be explicitly set in the app.yml file before the Docker container is started for the first time. claas noted that the standard ./discourse-setup script currently generates app.yml and starts the container simultaneously, making this configuration step difficult to perform manually. To address this, claas proposed modifying the setup dialog to explicitly ask for the interface language and has created a Pull Request to implement this change.

These days, I have setup(*) a Discourse instance in German for a relative and her non-English-speaking community. Even though I chose German as default language in the new setup wizard, the default categories and topics have been created in English (despite having an existing translation, as far as I can see):

Did I miss any step? It would help if there was a way to recreate the default content (if unchanged).

(*) = which worked pretty well using this guide in less than 30min on a Hetzner vServer CX10 (I used to prefer STRATO V-Server Linux V20, but they don’t seem to support Docker/AUFS)

3 Me gusta

You need to set the language in app.yml before you start the Docker container the first time.

3 Me gusta

That makes sense. However, as far as I can see, the ./discourse-setup step (as explained here) will generate the app.yml and start Discourse in one step.

Maybe a solution for this would be to ask for the interface language within the ./discourse-setup dialog?

Update: I have created a PR for this:

https://github.com/discourse/discourse_docker/pull/319

7 Me gusta