Standard language for new users #76

Open
opened 2026-05-01 09:59:36 +00:00 by jeppebundsgaard · 5 comments

Is there a setting somewhere so I can set the standard language for new users to Danish?

Is there a setting somewhere so I can set the standard language for new users to Danish?
Owner

@jeppebundsgaard

https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/language_configuration.html

You might be also automated via a abra.sh command, e.g. php occ config:system:set default_language --value="...". I am not sure it's possible to thread this down into the app via regular env vars.

@jeppebundsgaard > https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/language_configuration.html You might be also automated via a `abra.sh` command, e.g. `php occ config:system:set default_language --value="..."`. I am not sure it's possible to thread this down into the app via regular env vars.

Thanks, that worked!
In abra.sh it looks like we can create a variable in .env and then call

    set_system_config default_language "$DEFAULT_LANGUAGE"

But I cannot see how the functions in abra.sh are called

Thanks, that worked! In `abra.sh` it looks like we can create a variable in `.env` and then call ``` set_system_config default_language "$DEFAULT_LANGUAGE" ``` But I cannot see how the functions in `abra.sh` are called

Maybe it would be an idea to create a setting where the operators can create and set all the system variables they want, and abra.sh just inserts them.

Maybe it would be an idea to create a setting where the operators can create and set all the system variables they want, and abra.sh just inserts them.
Owner

@jeppebundsgaard

abra app cmd will call the functions in abra.sh. So, abra app cmd <app-name> app install_onlyoffice is calling the install_onlyoffice function. Yes, there's a lot of config manipulation happening in https://git.coopcloud.tech/coop-cloud/nextcloud/src/branch/main/abra.sh so I'm sure you can just add there to it.

You can test your commands by hacking the recipe directly and running them with --chaos.

If you need to expore some standard env vars before running your commands, check the environment approach in https://git.coopcloud.tech/coop-cloud/mastodon/src/branch/main/abra.sh.

We are missing documentation on all of this, please consider adding something to https://docs.coopcloud.tech with your perspective. A pair of fresh eyes is invaluable for new people diving into this for the first time!

@jeppebundsgaard `abra app cmd` will call the functions in `abra.sh`. So, `abra app cmd <app-name> app install_onlyoffice` is calling the `install_onlyoffice` function. Yes, there's a lot of config manipulation happening in https://git.coopcloud.tech/coop-cloud/nextcloud/src/branch/main/abra.sh so I'm sure you can just add there to it. You can test your commands by hacking the recipe directly and running them with `--chaos`. If you need to expore some standard env vars before running your commands, check the `environment` approach in https://git.coopcloud.tech/coop-cloud/mastodon/src/branch/main/abra.sh. We are missing documentation on all of this, please consider adding something to https://docs.coopcloud.tech with your perspective. A pair of fresh eyes is invaluable for new people diving into this for the first time!

I suggested a little change to the readme that explains how to change system settings.

I suggested a little change to the readme that explains how to change system settings.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/nextcloud#76
No description provided.