Dependency Graph View Issue Relation Graph Vertical
related to child of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0012214phpList 3 applicationInternationalization (l18n)public13-02-19 12:38
Reporterpremax 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version2.10.5 
Target VersionFixed in Version 
Summary0012214: Always English messages on Confirmation page
DescriptionWhen confirming user's subscription (URL?p=confirm&uid=xxx), messages are always shown in Eeglish language. Even if user has chosen another language, has seen customized subscription page and has received customized confirmation email is his/her own language before.

This is truly incorrect. The quick & dirty fix is to add the following code after line 530 of index.php v2.10.5, in the function confirmPage after code "if ($userdata["id"]) {" :


$data = PageData($id);
if (isset($data['language_file']) &&
is_file(dirname(__FILE__).'/texts/'.$data['language_file'])) {
    @include dirname(__FILE__).'/texts/'.$data['language_file'];
}

and then replace:

$info = $GLOBALS["strConfirmInfo"];
with
$info = $strConfirmInfo;
in line 564 of the original file.
TagsNo tags attached.

Activities

user1822

18-12-07 21:26

  ~0038522

THis should be fixed during the planned redo of the translation system. 'One day' we will move all language data into the database. Providing interactive translation and centralized updates.