I just wanted to get the productname of a specific locale of a cartlineItem, so I wanted to use the methode lineitem.getProductName (locale) and I wondered why I get a wrong localization. So I checked the Implementation of this methode and it doesn´t take the locale into account at all:
@Nonnull public String getProductName(Locale locale) { return productName.get(); }
I just wanted to get the productname of a specific locale of a cartlineItem, so I wanted to use the methode lineitem.getProductName (locale) and I wondered why I get a wrong localization. So I checked the Implementation of this methode and it doesn´t take the locale into account at all: