Showing results for 
Search instead for 
Did you mean: 

Get localized string in a java class

Former Member
0 Kudos

I am trying to read a string from a property file in a Facade class.

I am using following method to read.

de.hybris.platform.servicelayer.i18n.impl.DefaultL10NService.getLocalizedString(String, Object[])

This method consumes lot of time. Please suggest an optimal way to read a Localized String from a property file in a facade class.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi ,

Try using import de.hybris.platform.util.localization.Localization; and then: Localization.getLocalizedString("yourString");

Kind regards,

SAP hybris Product Support