mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.86k stars 1.17k forks source link

Mailcow SOGo Simplified Chinese language preferences not display correctly #5946

Closed CRK1918 closed 3 months ago

CRK1918 commented 3 months ago

Contribution guidelines

I've found a bug and checked that ...

Description

From the SOGo login screen, when the Simplified Chinese language is selected, the preferences page is not available(see pictures). I tested other languages without issue.

I tested on Chromium-base and Firefox-based browsers too.

Logs:

sogo-mailcow-1       | Jul  9 22:12:51 5d4747cd9949 sogod [70]: UIxPreferences ERROR: localizable strings contacts_category_labels is incorrect for language ChineseChina

nginx-mailcow-1      | <IP> - - [09/Jul/2024:22:12:52 -0500] "GET /SOGo/so/no-reply@example.com/Preferences HTTP/2.0" 200 32473 "https://mail.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"

sogo-mailcow-1       | Jul  9 22:12:51 5d4747cd9949 sogod [70]: UIxPreferences ERROR: localizable strings contacts_category_labels is incorrect for language ChineseChina

nginx-mailcow-1      | 127.0.0.1 - - [09/Jul/2024:22:12:51 -0500] "GET /sogo-auth HTTP/1.0" 200 658 "https://mail.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
sogo-mailcow-1       | Jul  9 22:12:51 5d4747cd9949 sogod [70]: UIxPreferences ERROR: localizable strings contacts_category_labels is incorrect for language ChineseChina
nginx-mailcow-1      | <IP> - - [09/Jul/2024:22:12:52 -0500] "GET /SOGo/so/no-reply@example.com/Preferences HTTP/2.0" 200 32473 "https://mail.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
sogo-mailcow-1       | Jul  9 22:12:52 5d4747cd9949 sogod [70]: <IP> "GET /SOGo/so/no-reply@example.com/Preferences HTTP/1.0" 200 32473/0 0.110 135568 76% 176K - 13
dovecot-mailcow-1    | Jul  9 22:12:52 35cc80e0a523 dovecot: imap-login: Login: user=<no-reply@example.com>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=2259
nginx-mailcow-1      | <IP> - - [09/Jul/2024:22:12:52 -0500] "POST /SOGo/so/no-reply@example.com/Mail/0/folderINBOX/expunge HTTP/2.0" 200 49 "https://mail.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
sogo-mailcow-1       | Jul  9 22:12:52 5d4747cd9949 sogod [72]: <IP> "POST /SOGo/so/no-reply@example.com/Mail/0/folderINBOX/expunge HTTP/1.0" 200 49/0 0.165 - - 0 - 14
dovecot-mailcow-1    | Jul  9 22:12:52 35cc80e0a523 dovecot: imap(no-reply@example.com)<2259><av+PBdwc6tqsFgH4>: Disconnected: Logged out in=147 out=1762 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
php-fpm-mailcow-1    | 172.22.1.8 -  09/Jul/2024:22:12:52 -0500 "GET /sogo-auth.php" 200
nginx-mailcow-1      | 127.0.0.1 - - [09/Jul/2024:22:12:52 -0500] "GET /sogo-auth HTTP/1.0" 200 658 "https://mail.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
php-fpm-mailcow-1    | 172.22.1.8 -  09/Jul/2024:22:12:52 -0500 "GET /sogo-auth.php" 200
nginx-mailcow-1      | 127.0.0.1 - - [09/Jul/2024:22:12:52 -0500] "GET /sogo-auth HTTP/1.0" 200 658 "https://mail.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
nginx-mailcow-1      | <IP> - - [09/Jul/2024:22:12:52 -0500] "GET /SOGo/so/no-reply@example.com/Calendar/alarmslist?browserTime=1720581171 HTTP/2.0" 200 60 "https://mail.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
sogo-mailcow-1       | Jul  9 22:12:52 5d4747cd9949 sogod [72]: <IP> "GET /SOGo/so/no-reply@example.com/Calendar/alarmslist?browserTime=1720581171 HTTP/1.0" 200 60/0 0.015 - - 0 - 13
dovecot-mailcow-1    | Jul  9 22:12:52 35cc80e0a523 dovecot: imap-login: Login: user=<no-reply@example.com>, method=PLAIN, rip=172.22.1.248, lip=172.22.1.250, mpid=2261
nginx-mailcow-1      | <IP> - - [09/Jul/2024:22:12:52 -0500] "POST /SOGo/so/no-reply@example.com/Mail/0/folderINBOX/changes HTTP/2.0" 200 21 "https://mail.example.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
sogo-mailcow-1       | Jul  9 22:12:52 5d4747cd9949 sogod [70]: <IP> "POST /SOGo/so/no-reply@example.com/Mail/0/folderINBOX/changes HTTP/1.0" 200 21/126 0.145 - - 0 - 14
dovecot-mailcow-1    | Jul  9 22:12:52 35cc80e0a523 dovecot: imap(no-reply@example.com)<2261><afmTBdwc+tqsFgH4>: Disconnected: Logged out in=130 out=1644 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

Steps to reproduce:

1. Must select select Simplified Chinese language in the SoGo login screen.

2. Once login, click on the preferences button will see the problem.

Pictures: 

https://raw.githubusercontent.com/CRK1918/issues/main/Login%20Screen.png

https://raw.githubusercontent.com/CRK1918/issues/main/SoGo%20preferences%20page.png

Which branch are you using?

master

Which architecture are you using?

x86

Operating System:

Ubuntu 22.04 LTS

Server/VM specifications:

4G RAM, 2 Cores

Is Apparmor, SELinux or similar active?

yes

Virtualization technology:

N/A

Docker version:

Docker version 27.0.3

docker-compose version or docker compose version:

Docker Compose version v2.28.1

mailcow version:

2024-6a

Reverse proxy:

N/A

Logs of git diff:

N/A

Logs of iptables -L -vn:

N/A

Logs of ip6tables -L -vn:

N/A

Logs of iptables -L -vn -t nat:

N/A

Logs of ip6tables -L -vn -t nat:

N/A

DNS check:

172.64.155.249
104.18.32.7
DerLinkman commented 3 months ago

Hi, we are not the sogo devs...

Please head to them to ask to implement it: https://bugs.sogo.nu/my_view_page.php