Hello, I wanted to know if what I need to do is possible and in what way it could be done.
I am about to put into production the quarantine of emails with tickets
The problem is that we need that by default when the user opens the link with the ticket for the first time, it appears in Spanish, so that the user does not have to go to select the language, that is, avoid that step.
Since I didn't find any settings to force it, try modifying the file:
/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
On the line :
return Proxmox.Utils.defaultText + '(English)';
by
return Proxmox.Utils.defaultText + '(Spanish)';
In this way when I open the https://server:8006/quarantine I see that Spanish is selected, but the change of language does not apply, everything is still in English
As I am not a programmer I don't know how to continue, if someone could do this and can tell me how, I really appreciate it.
I'm using:
proxmox-mailgateway: 6.2-1 (API: 6.2-5/05a7829e, running kernel: 4.9.0-3-amd64)
pmg-api: 6.2-5
pmg-gui: 2.2-2
pve-kernel-5.4: 6.2-4
pve-kernel-helper: 6.2-4
pve-kernel-5.4.44-2-pve: 5.4.44-2
clamav-daemon: 0.102.4+dfsg-0+deb10u1
libarchive-perl: 3.3.3-1
libjs-extjs: 6.0.1-10
libjs-framework7: 4.4.7-1
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.1-3
libpve-http-server-perl: 3.0-6
libxdgmime-perl: 0.01-5
pmg-docs: 6.2-2
pmg-log-tracker: 2.1.6-1
postgresql-11: 11.7-0+deb10u1
proxmox-mini-journalreader: 1.1-1
proxmox-spamassassin: 3.4.4-2
proxmox-widget-toolkit: 2.2-8
pve-firmware: 3.1-1
pve-xtermjs: 4.3.0-1
I am about to put into production the quarantine of emails with tickets
The problem is that we need that by default when the user opens the link with the ticket for the first time, it appears in Spanish, so that the user does not have to go to select the language, that is, avoid that step.
Since I didn't find any settings to force it, try modifying the file:
/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
On the line :
return Proxmox.Utils.defaultText + '(English)';
by
return Proxmox.Utils.defaultText + '(Spanish)';
In this way when I open the https://server:8006/quarantine I see that Spanish is selected, but the change of language does not apply, everything is still in English
As I am not a programmer I don't know how to continue, if someone could do this and can tell me how, I really appreciate it.
I'm using:
proxmox-mailgateway: 6.2-1 (API: 6.2-5/05a7829e, running kernel: 4.9.0-3-amd64)
pmg-api: 6.2-5
pmg-gui: 2.2-2
pve-kernel-5.4: 6.2-4
pve-kernel-helper: 6.2-4
pve-kernel-5.4.44-2-pve: 5.4.44-2
clamav-daemon: 0.102.4+dfsg-0+deb10u1
libarchive-perl: 3.3.3-1
libjs-extjs: 6.0.1-10
libjs-framework7: 4.4.7-1
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.1-3
libpve-http-server-perl: 3.0-6
libxdgmime-perl: 0.01-5
pmg-docs: 6.2-2
pmg-log-tracker: 2.1.6-1
postgresql-11: 11.7-0+deb10u1
proxmox-mini-journalreader: 1.1-1
proxmox-spamassassin: 3.4.4-2
proxmox-widget-toolkit: 2.2-8
pve-firmware: 3.1-1
pve-xtermjs: 4.3.0-1