No 'English (United Kingdom)' locale in user settings

Nextcloud version : 27.0.0
Operating system and version : Debian 12
Apache or nginx version : Apache 2.4.57-2
PHP version : 8.2+93

The issue you are facing:

No ‘English (United Kingdom)’ locale in user settings

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Log in as user with non UK locale
  2. Click profile menu, select Personal Settings
  3. In Locale box look for ‘English (United Kingdom)’
  4. For existing users previously configured with English (United Kingdom) locale the entry exists in the list.

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '********',
  'passwordsalt' => '********',
  'secret' => '********',
  'trusted_domains' => 
  array (
    0 => 'nextcloud.rainydayz.org',
  ),
  'datadirectory' => '/var/www/html/nextcloud.rainydayz.org/data',
  'dbtype' => 'mysql',
  'default_phone_region' => 'GB',
  'version' => '27.0.0.8',
  'overwrite.cli.url' => 'https://nextcloud.rainydayz.org',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '********',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'sendmail',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'rainydayz.org',
  'mail_smtphost' => 'mail.rainydayz.org',
  'app_install_overwrite' => 
  array (
    0 => 'occweb',
  ),
  'updater.secret' => '********',
);

The output of your Apache/nginx/system log in /var/log/access.log:

IP - - [29/Jun/2023:20:24:26 +0100] "GET /index.php/settings/user HTTP/1.1" 200 26049 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/default.css?plain=1&v=7fb19cce HTTP/1.1" 200 2004 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/opendyslexic.css?plain=0&v=7fb19cce HTTP/1.1" 200 1325 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/light.css?plain=0&v=7fb19cce HTTP/1.1" 200 2364 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/dark-highcontrast.css?plain=0&v=7fb19cce HTTP/1.1" 200 2450 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/dark.css?plain=0&v=7fb19cce HTTP/1.1" 200 2357 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/light.css?plain=1&v=7fb19cce HTTP/1.1" 200 2344 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/light-highcontrast.css?plain=0&v=7fb19cce HTTP/1.1" 200 2426 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/js/core/merged-template-prepend.js?v=e825c814-0 HTTP/1.1" 200 4177 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/light-highcontrast.css?plain=1&v=7fb19cce HTTP/1.1" 200 2065 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/dark-highcontrast.css?plain=1&v=7fb19cce HTTP/1.1" 200 2088 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:27 +0100] "GET /index.php/apps/theming/theme/dark.css?plain=1&v=7fb19cce HTTP/1.1" 200 1997 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:29 +0100] "GET /ocs/v2.php/search/providers?from=%2Fsettings%2Fuser HTTP/1.1" 200 1237 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:30 +0100] "GET /ocs/v2.php/apps/user_status/api/v1/statuses/USER HTTP/1.1" 200 1056 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:30 +0100] "GET /index.php/avatar/USER/64?v=4 HTTP/1.1" 200 1989 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:30 +0100] "GET /index.php/avatar/USER/512?v=4 HTTP/1.1" 200 7862 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:30 +0100] "GET /ocs/v2.php/apps/user_status/api/v1/statuses/USER HTTP/1.1" 200 1056 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:30 +0100] "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"
IP - - [29/Jun/2023:20:24:31 +0100] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 200 1088 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0"

In “Personal Settings” I have:
Locations: England
Language: English (British English)
Locale: English (United Kingdom)

Which means I get logical dates, the correct timezone but unfortunately the week starts a day late on Monday.

There is “English (United Kingdom)” in the user settings. It’s the default & it’s right at the top of the menu, away from the rest of the “English (…)” options. It doesn’t get highlighted when you start typing King… & I missed it because I was using a laptop with a small screen & never scrolled all the way up.

That’s because, officially, Sunday no longer is the first day of the week. Officially, Sunday is not the first day of the week :wink:

I suspect that you have been mislead by a bunch of bureaucrats in Geneva:

“ISO 8601 Data elements and interchange formats – Information interchange – Representation of dates and times” is an international standard covering the exchange of date- and time-related data.

:open_mouth:

Yes you got me. :smiley: I’m neither British nor do I live there, but most internet sources I’ve found do list the countries of the UK as countries where the week starts on Monday. In practice, however, it seems that many still consider Sunday the first day of the week.

On the actual topic: I don’t know if this is a “bug” or if it is intentional and simply reflects the “official” ISO norm. The best solution would probably be, if it would be configurable independently from the language and locale settings. Maybe you can open an issue on GitHub for this, if none exists yet.

1 Like

Well as someone who has lived in England for all my life the first day of the week is Sunday. I know for business purposes there has recently been ISO1801, but I’m not aware that that has replaced some 1400 years of tradition.

You must choose “English” (without “World”, “Europe” or any “Country” apended):

For me that results in displaying sunday as first day of the week in Calendar.

For people that do not get Monday as first day, propably have set locale forced to ‘en’ in config.php

When I switch to “Afrikaans”:

in order to get the 24 hours scheme, it unfortunately does not show sunday as first day of the week in calendar.

+1 :+1:

Fullack!

1 Like

Interesting. Trouble is I want a 24 hour clock so I’ll have to put up with some weird import rewriting custom. Grrr.