public class LspsLocalizerImpl extends Object implements LspsLocalizer
Constructor and Description |
---|
LspsLocalizerImpl(ResourceBundle resourceBundle)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedString(String original,
com.vaadin.ui.Component component)
Returns localized string based on the application locale.
|
public LspsLocalizerImpl(ResourceBundle resourceBundle)
resourceBundle
- public String getLocalizedString(String original, com.vaadin.ui.Component component)
LspsLocalizer
$$$'81b0f506f45a17050c28b0363c3e515a25c09fcf'::loc1::'0'()
) replaced by
their translation. The passed resource bundle is used for the translation
of the localizable strings. If the resource bundle does not contain an
entry for a given localizable string, the localizable string will not be
replaced in the result.
The locale of the resource bundle will be used for formatting of the localizable string parameters which are date/time/number.
getLocalizedString
in interface LspsLocalizer
component
- (may be null)Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.