You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, VipLocalizationTools supports the only array of arguments assuming that the message contains placeholders in the {0} format.
Describe the solution you'd like
It would be very helpful if localization tools support with Map for replacing arguments like below.
# Below is the message key and value from the properties file
KEY1 = Upload failed. Check for errors in the log files at {ID1}:{ID2}, and address those errors.
String messageKey = "KEY1";
// MAP containing the placeholder keys and replacing values
Map<String, Object> arguments = new HashMap<>();
arguments.put("ID1", "arg1");
arguments.put("ID2", "arg2");
vipLocalizationTools.getLocalizedMessage(locale, messageKey, arguments, localBundle);
Describe alternatives you've considered
A clear and concise description of any alternative solution or feature you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, VipLocalizationTools supports the only array of arguments assuming that the message contains placeholders in the {0} format.
Describe the solution you'd like
It would be very helpful if localization tools support with Map for replacing arguments like below.
Describe alternatives you've considered
A clear and concise description of any alternative solution or feature you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: