View Issue Details

IDProjectCategoryView StatusLast Update
0001542Main CAcert Websitetranslationspublic2022-07-07 17:03
Reporteregal Assigned Toegal  
PrioritynormalSeverityminorReproducibilityalways
Status solved?Resolutionfixed 
PlatformMain CAcert WebsiteOSN/AOS Versionstable
Summary0001542: translation not working
DescriptionAfter the update to Debian 11 translation using gettext-functionality is not working anymore, so Main Website is on english only no matter of the language selection.

Reason is a variable change on the way from Debian 8 to Debian 11 from LANG to LANGUAGE for the gettext-module.

This has to be reflected in /www/includes/lib/l10n.php
Steps To Reproduceopen www.cacert.org, select other language than english, web-site will stay on english
using testserver, you will see the web-site in selected language
TagsNo tags attached.
Reviewed byegal
Test Instructionsnot possible to test on current testserver-environment as debian on these machines is too old

Activities

jandd

2022-07-07 15:58

administrator   ~0006123

A fix is available as https://code.cacert.org/cacert/cacert-webdb/pulls/1/files

egal

2022-07-07 16:09

administrator   ~0006124

review is passed ...

additionally: ran a test in my own environment, works successfully
as the only change is the name of the environment-variable, a second review is not necessary in this case

the change could be deployed on productive server to file /www/includes/lib/l10n.php

jandd

2022-07-07 17:03

administrator   ~0006126

patch has been applied on webdb, language selection works

PR has been merged in https://code.cacert.org/cacert/cacert-webdb/commit/2884caf1a519a43fa4fa36a0afa06c5935884914

Issue History

Date Modified Username Field Change
2022-07-06 20:31 egal New Issue
2022-07-07 15:15 jandd Assigned To => jandd
2022-07-07 15:16 jandd Status new => needs work
2022-07-07 15:58 jandd Assigned To jandd => egal
2022-07-07 15:58 jandd Status needs work => fix available
2022-07-07 15:58 jandd Note Added: 0006123
2022-07-07 16:09 egal Reviewed by => egal
2022-07-07 16:09 egal Note Added: 0006124
2022-07-07 16:10 egal Assigned To egal => jandd
2022-07-07 17:03 jandd Assigned To jandd => egal
2022-07-07 17:03 jandd Status fix available => solved?
2022-07-07 17:03 jandd Resolution open => fixed
2022-07-07 17:03 jandd Note Added: 0006126