Since I starting to set up a fresh instance of Discourse, I wondered: discourse-setup
does not ask about the locale settings of the new site and generates an app.yml
with LC_ALL/LANG/LANGUAGE = en_US.UTF-8
.
Is this correct? If so, it would potentially be helpful if this is mentioned in the installation instructions. And if not, then it would be good if discourse-setup
either asks for these settings or at least doesn’t start the container right away, so I can adjust them before the first startup.
I’m mainly asking because for an existing site, I had trouble with the upgrade from Postgres 13 to 15 because of locales (they were adjusted to de_DE.UTF-8
only after initial container creation), which I fixed by resetting to en_US.UTF-8
. But on the other hand, this means the Postgres database will be created with collation en_US
and this might cause some issues with search when e.g. German Umlauts are used.
This old PR (FEATURE: Ask for default language in discourse-setup by caugner · Pull Request #319 · discourse/discourse_docker · GitHub) linked from a discussion back in 2016 (Default categories/topics in English despite German as default language in setup wizard - #3 by claas) seems to indicate that Discourse now handles everything under the hood. But it would be good to have confirmation, and, as mentioned above, maybe a small note in the installation instructions.