I changed everything to default (en) in app.yml and did ./laucher rebuild app . After that the default language is English (US) and it behaves like before any changes to default locale are reverted from alone - that means the ui takes the change and when I accept the change (eg. to Deutsch) and go then into another tab in administration and then come back it is Englisch(US) again.
Does that mean that any changes to the default locale must always go via change in app.yml and the rebuild app ?
After I changed the default locale via app.yml to English(US) I could use the replace text button to change all text eg. TOS etc. from former German into English (because this is the default locale). That worked. But when I then try to change all text e.g. from now English new to German - that does not work.
Does that mean that Replace text only works towards the default locale of the discourse instance?
@gerhard
To get started with my tests I set DISCOURSE_DEFAULT_LOCALE : de_formal and did ./launcher rebuild app. Then I replaced all text using the correspondig button.
On my test instance a login is required. When I log out I get the massage:
Ein Konto ist erforderlich. Bitte frage ein existierendes Mitglied nach einer Einladung oder melde dich an, um fortzufahren.
The corresponding text in administration is " login_required.welcome_message_invite_only". I double checked in transifex that there is no untranslated string with this text. but discourse (running with Deutsch(Sie)) is still showing the informal text.
Is it possible that the source language file in transifex is missing some text?
@gerhard
I found the solution meanwhile. The reason was the setting āset locale from accept language headerā. I had this active and that resulted in the infomal text as the language header from my browser does not say āde_formalā
Yeah, that string is missing as itās in a plugin and I donāt have the time right now to fix that. It will probably have to wait until I find some time to bring this over to Crowdin and implement a proper automated solution.
Iāll try to make the updates from Transifex every week. Thatās the best I can do for now. Iām sorry. Iāll try to work on a better solution in the upcoming months.