Aktionen
GX-Bug #69858
geschlossenLanguageTextManager::get_text() does not consider the languageId parameter reliably | LanguageTextManager::get_text() berücksichtigt die Sprache nicht zuverlässig
% erledigt:
0%
Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.6.0.0 beta1
Release Notes Langtext:
LanguageTextManager::get_text() berücksichtigt die Sprache nun zuverlässig
Beschreibung
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
Aktionen