Skip to content

Sharing Roles will not be translated #2800

@Svanvith

Description

@Svanvith

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

The sharing roles "can view" "can edit" etc. will not be translated and stay on German even when you change the language:

Image

The reason is, the DEFAULT_LANGUAGE= variable is not added in the .env but in the docker-compose.yaml

Reproduction Steps

latest opencloud-compose
Opencloud 6.2.0 rolling

Use an older .env or remove 'DEFAULT_LANGUAGE=' from the .env
Make sure OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE} is set in the docker-compse.yaml

Rebuild the docker container
You will get a warning:
WARN[0000] The "DEFAULT_LANGUAGE" variable is not set. Defaulting to a blank string.

set the language to "German" and check the sharing roles.
Switch back to "English" and check them again
You can choose other languages too, they will stay German

Expected Outcome

The sharing roles will will be translated to English again

Actual Outcome

The sharing roles stay German

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Prio <= 3

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions