Conversation
af2fb97 to
fde065d
Compare
fisx
left a comment
There was a problem hiding this comment.
Nice, especially the LOC stats! :)
Yes, this could work. Please test as you suggested before merging, though.
charts/brig/templates/configmap.yaml
Outdated
There was a problem hiding this comment.
Given that with our current i8n status the only valid locale here is en, shoudl we really make it configurable? I see no great harm, as long as any other values crashes on startup, but not much value either.
i want to take another look at the new changes.
fisx
left a comment
There was a problem hiding this comment.
I'm assuming you tested the DefaultUserLocale trick manually? Then except for the missing details in the haddocks this looks very shippable.
bfb6318 to
159b927
Compare
159b927 to
1e7bf3a
Compare
fisx
left a comment
There was a problem hiding this comment.
NB the suggestion to fix the cycle (black hole), otherwise LGTM!
services/brig/src/Brig/Options.hs
Outdated
| defaultTemplateLocale = Locale (Language EN) Nothing | ||
|
|
||
| defaultUserLocale :: Locale | ||
| defaultUserLocale = defaultUserLocale |
There was a problem hiding this comment.
cycle.
| defaultUserLocale = defaultUserLocale | |
| defaultUserLocale = defaultTemplateLocale |
(anyway it'd also be ok with me if you made both of them just en.)
Co-authored-by: fisx <mf@zerobuzz.net>
Co-authored-by: fisx <mf@zerobuzz.net>
|
|
||
| The brig server config option `setDefaultLocale` has been replaced by `setDefaultUserLocale` and `setDefaultTemplateLocale`. Both settings are optional and `setDefaultTemplateLocale` defaults to `EN` and `setDefaultLocale` defaults to `setDefaultTemplateLocale`. If `setDefaultLocale` was not set or set to `EN` before this change, nothing needs to be done. If `setDefaultLocale` was set to any other language other than `EN` the name of the setting should be changed to `setDefaultTemplateLocale`. | ||
|
|
||
| #### `setDefaultTemplateLocale` |
There was a problem hiding this comment.
Which templates are actually complete in wire-server other than EN? i.e. this settings can't be set to anything other than EN at this point in time unless more templates are provided inside wire-server's brig/deb/templates folder, right? Perhaps the description here should make that clearer.
https://wearezeta.atlassian.net/browse/SQSERVICES-1097
Checklist
changelog.d.