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
force-locale option does not work #4176
Comments
This issue has been mentioned on Duplicati. There might be relevant details there: https://forum.duplicati.com/t/how-to-force-commandline-output-in-english/5299/10 |
I confirm that the |
The issues I found with
I thought this would be an easy fix, but the last one requires a bit of thinking to get around it. |
- Localization culture is set from multiple threads on the server, so use current local context for every new call instead of global context - Change locale before executing help commands if flag is present - When force-locale is set, also change locale for log messages Closes duplicati#4176
Environment info
Description
Option
--force-locale
does not workSteps to reproduce
Duplicati.CommandLine.exe help advanced --force-locale = en-en
Help text is in Dutch (well, some of it)
Help text should be in English
But is is not just the help texts. The command line asking for a pass phrase is also in Dutch.
Screenshots
The same problem occurs if you set the regional settings to French. Then the texts are in French, no matter what you pass in for force-locale.
The text was updated successfully, but these errors were encountered: