<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Hi Яків,</div>
<div class="">Try to user expression in mappings and code below to set alternative lang</div>
<div class=""><span class="pl-smi"><br class="">
</span></div>
<div class="">
<div class=""><font face="Big Caslon" class="">String USER_JACK_FULL_NAME = "Jack Sparrow";</font></div>
<div class=""><font face="Big Caslon" class=""><br class="">
</font></div>
<div class=""><font face="Big Caslon" class="">String[] JACK_FULL_NAME_LANG_CZ_HR = {</font></div>
<div class=""><font face="Big Caslon" class="">"cz", "Džek Sperou",</font></div>
<div class=""><font face="Big Caslon" class="">"hr", "Ðek Sperou"</font></div>
<div class=""><font face="Big Caslon" class="">};</font></div>
<div class=""><font face="Big Caslon" class="">PolyString fullname = new PolyString(USER_JACK_FULL_NAME);</font></div>
<div class=""><font face="Big Caslon" class="">fullname.setLang(MiscUtil.paramsToMap(JACK_FULL_NAME_LANG_CZ_HR));</font></div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 11 Dec 2021, at 23:09, Yakov Revyakin via midPoint <<a href="mailto:midpoint@lists.evolveum.com" class="">midpoint@lists.evolveum.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">ru</span></div>
</blockquote>
</div>
<br class="">
</body>
</html>