commercetools / sphere-play-sdk

Java API client and helper classes for building a SPHERE.IO shop on Play 2.2
http://sphere.io
7 stars 6 forks source link

lineitem.getProductName(locale) does not work as exspected #119

Closed ahalberkamp closed 10 years ago

ahalberkamp commented 10 years ago

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(); }
butenkor commented 10 years ago

@ahalberkamp please provide url to implementation instead of copy & pasting the code and who is she? ;)

lauraluiz commented 10 years ago

Fixed #120

ahalberkamp commented 10 years ago

cool thanks