Skip to content
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

Default mail language fallback is not working #7465

Closed
case0sh opened this issue Oct 11, 2023 · 2 comments · Fixed by #7479
Closed

Default mail language fallback is not working #7465

case0sh opened this issue Oct 11, 2023 · 2 comments · Fixed by #7479
Assignees
Labels

Comments

@case0sh
Copy link
Contributor

case0sh commented Oct 11, 2023

Describe the bug

Default mail language fallback is not working as expected

Steps to reproduce

Steps to reproduce the behavior:

  1. set "SETTINGS_DEFAULT_LANGUAGE" env to "de"
  2. set userB language to "Czech"
  3. login as UserA and trigger a mail notification for userB by sharing a file

Expected behavior

If there no Czech email template it should fallback the default value "SETTINGS_DEFAULT_LANGUAGE"

Actual behavior

Fallback to English

Setup

You can use this docker compose
https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_traefik/docker-compose.yml
with latest master of oCIS

@2403905
Copy link
Contributor

2403905 commented Oct 17, 2023

@case0sh Please note that the SETTINGS_DEFAULT_LANGUAGE changed to the global OCIS_DEFAULT_LANGUAGE.
Please read the fix description.

@case0sh
Copy link
Contributor Author

case0sh commented Oct 17, 2023

fixed owncloud/ocis-charts#408

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants