Jojo-1000
e2e8adf02f
Merge branch 'master' into fix-force-locale
2024-05-12 00:01:42 +02:00
Kenneth Skovhede
473c6cbbb8
Merge commit '4f577c65a4d8806f79637c50c21ca3a683c5a07a' into feature/kestrel-avalonia-upgrade
2024-03-04 12:21:53 +01:00
Kenneth Skovhede
c168849dff
Hand-picked changes from #3124
2024-03-01 14:30:28 +01:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Jojo-1000
708715e705
Fix force-locale option for CLI and GUI.
...
- 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 #4176
2023-06-23 13:30:46 +02:00
Max
41a5591532
upstream
2019-12-25 16:34:56 +01:00
Kenneth Hsu
2aa76881a5
Mark fields that don't need to be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
Max
66eee70d1e
fixed some codacy findings
...
fix CallContext
2019-08-03 00:34:26 +02:00
Max
e4997f1efc
upstream
2018-06-24 12:49:51 +02:00
Kenneth Hsu
ee8788d08e
Use Equals to compare CultureInfo instances.
...
Since the Equals method is overridden in the CultureInfo class, we
should use it instead of the == operator to compare two instances.
2018-05-25 10:04:28 -07:00
Max
d3d494b574
backends ported
2018-03-24 17:48:26 +01:00
agrajaghh
708fdee95a
support language codes with '_' as delimiter
2016-11-03 15:22:00 +01:00
agrajaghh
d36bf827ec
fix language default selection
...
If the browser or system language is not supported, display "Default (en, English)"
2016-10-08 17:35:02 +02:00
agrajaghh
36bf344f4a
renamePoLocalizationService to MoLocalizationService
2016-10-05 18:10:52 +02:00
agrajaghh
08cdcf55b4
set current culture to ParseRequestCulture()
2016-10-05 17:43:42 +02:00
Kenneth Skovhede
07345f6250
Implemented PO file parsing in Localizations
2016-09-27 20:44:19 +02:00
Kenneth Skovhede
8d13e698eb
Updated copyright notices
2015-01-20 21:44:52 +01:00
Kenneth Skovhede
a30b6e3671
Implemented a scaffold version of a localization service so we can plug in the right one once we have decided which one to use.
2014-06-13 17:34:53 +02:00