[midPoint] Synchronization with localization

Oleksandr Nekriach o.nekriach at dynatech.lv
Sun Dec 12 10:06:21 CET 2021


Hi Яків,
Try to user expression in mappings and code below to set alternative lang

String USER_JACK_FULL_NAME = "Jack Sparrow";

String[] JACK_FULL_NAME_LANG_CZ_HR = {
"cz", "Džek Sperou",
"hr", "Ðek Sperou"
};
PolyString fullname = new PolyString(USER_JACK_FULL_NAME);
fullname.setLang(MiscUtil.paramsToMap(JACK_FULL_NAME_LANG_CZ_HR));

On 11 Dec 2021, at 23:09, Yakov Revyakin via midPoint <midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>> wrote:

ru

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20211212/6fca7be5/attachment.htm>


More information about the midPoint mailing list