Project

General

Profile

GX-Bug #69858

LanguageTextManager::get_text() does not consider the languageId parameter reliably | LanguageTextManager::get_text() berücksichtigt die Sprache nicht zuverlässig

Added by Moritz Bunjes 7 months ago. Updated 4 months ago.

Status:
Erledigt
Priority:
Hoch
Assignee:
Category:
Core
Target version:
% Done:

0%

Estimated time:
Steps to reproduce:
Betroffene Versionen:
4.6.0.0 beta1
Release Notes Langtext:

LanguageTextManager::get_text() berücksichtigt die Sprache nun zuverlässig


Description

It is not possible to get a text from the same section in more than one language with the same LanguageTextManager instance.

Example:

$textManager = MainFactory::create('LanguageTextManager');

echo $textManager->get_text('new_discount_price', 'price', 1);
echo $textManager->get_text('new_discount_price', 'price', 2);

Expected output:
Your priceIhr Preis

Actual output:
Your priceYour price

History

#1

Updated by Moritz Bunjes 7 months ago

  • Subject changed from LanguageTextManager::get_text() does not consider the languageId parameter reliably to LanguageTextManager::get_text() does not consider the languageId parameter reliably | LanguageTextManager::get_text() berücksichtigt die Sprache nicht zuverlässig
#2

Updated by Moritz Bunjes 7 months ago

  • Status changed from In Bearbeitung to Testing
  • Assignee deleted (Moritz Bunjes)
  • Priority changed from Normal to Hoch
#4

Updated by Josua Michalak 5 months ago

  • Assignee set to Josua Michalak
#5

Updated by Josua Michalak 5 months ago

  • Assignee deleted (Josua Michalak)
#6

Updated by Ahmed Hamouda 5 months ago

  • Assignee set to Ahmed Hamouda
#7

Updated by Ahmed Hamouda 5 months ago

  • Status changed from Testing to Erledigt
#8

Updated by Moritz Bunjes 4 months ago

  • Tags deleted (4.7.1.0_beta1)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 5 MB)