Manual translation in PPE / PASSWORD RESET

Hi,

The documentation at https://docs.netwrix.com/docs/passwordreset/3_3/administration/configuringpasswordreset/enroll_tab says that the language can be changed, but we currently have only one option. How can we add or create a Lithuanian language?

  1. In the documentation at https://docs.netwrix.com/docs/passwordreset/3_3/evaluation/password_reset_client, the link to PRC_Config.zip doesn’t work — no file is downloaded, and it redirects to another page.

  2. After installing Netwrix Password Reset v3.3 on the web server, when selecting any menu option in the browser, a file named apr.dll is downloaded instead of opening the desired menu. I fixed this by adding the highlighted line to web.config, but I’m not sure if that’s the correct solution.

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

    <system.webServer>

        <httpProtocol>

            <customHeaders>

                <add name="X-Frame-Options" value="SAMEORIGIN" />

            </customHeaders>

        </httpProtocol>

        <staticContent>

            **<remove fileExtension=".dll" />**

            **<mimeMap fileExtension=".dll" mimeType="text/html; charset=utf-8" />**

        </staticContent>

    </system.webServer>

</configuration>

Hi Simonas,

Officially, there is no built in support for Lithuanian.However, there is a work around. You can use another language and just use it as a container for the Lithuanian translations. The officially supported languages are:

LANGUAGE_PREFIX_EN = ‘en’; // English
LANGUAGE_PREFIX_FR = ‘fr’; // French
LANGUAGE_PREFIX_DE = ‘de’; // German
LANGUAGE_PREFIX_IT = ‘it’; // Italian
LANGUAGE_PREFIX_JA = ‘ja’; // Japanese
LANGUAGE_PREFIX_ES = ‘es’; // Spanish
LANGUAGE_PREFIX_PT = ‘pt’; // Portuguese
LANGUAGE_PREFIX_ZH = ‘zh’; // Chinese
LANGUAGE_PREFIX_RU = ‘ru’; // Russian
LANGUAGE_PREFIX_HU = ‘hu’; // Hungarian
LANGUAGE_PREFIX_NL = ‘nl’; // Dutch
LANGUAGE_PREFIX_PL = ‘pl’; // Polish
LANGUAGE_PREFIX_CZ = ‘cz’; // Czech
LANGUAGE_PREFIX_RO = ‘ro’; // Romanian
LANGUAGE_PREFIX_ID = ‘id’; // Indonesian
LANGUAGE_PREFIX_NO = ‘no’; // Norwegian
LANGUAGE_PREFIX_SK = ‘sk’; // Slovak

Here are the steps to adding Polish and then ‘filling it’ with Lithuanian.

  1. New languages for questions are added in a registry key at \HKEY_LOCAL_MACHINE\SOFTWARE\ANIXIS\ANIXIS Password Reset\3.0. The key is called QuestionList and is formatted with the language code (eg. en or pl) and a question. If you have at least one line for each language you want in the key, the language will appear in the configuration console.

Here are some sample questions in Lithuanian to help you along:

plKoks yra vidurinis jūsų vyriausio vaiko vardas?

plKoks yra vidurinis jūsų vyriausios sesers vardas?

plKoks yra jūsų tėvo vidurinis vardas?

plKokie yra jūsų tėvo gimimo metai?

plKoks yra jūsų motinos vidurinis vardas?

plKokios spalvos buvo jūsų pirmasis automobilis?

plKoks buvo pirmosios mokyklos, kurią lankėte, pavadinimas?

plKoks yra jūsų vyriausio brolio vidurinis vardas?

plKoks buvo jūsų vaikystės pravardė?

plKoks buvo jūsų mėgstamiausias vaikystės žaidimas?

plKoks buvo jūsų mėgstamiausias vaikystės žaislas?

plKoks buvo jūsų mėgstamiausio mokytojo vardas?

plKoks buvo jūsų mėgstamiausias mokyklinis dalykas?

plKoks buvo jūsų pirmojo augintinio vardas?

plKoks buvo jūsų vidurinės mokyklos talismanas?

plKur pirmą kartą sutikote savo sutuoktinį(-ę)?

plKokie yra paskutiniai 4 jūsų sporto klubo kortelės skaitmenys?

plKurį mėnesį gavote pirmąjį COVID skiepą?

plKuriame mieste susitikote su savo sutuoktiniu(-e)?

plKoks buvo pirmojo klubo, į kurį lankėtės, pavadinimas?

plKoks yra jūsų mėgstamiausias nealkoholinis gėrimas?

plKoks buvo jūsų pirmasis darbas?

plKokia yra jūsų mėgstamiausia atostogų vieta?

plKokia yra jūsų mėgstamiausia knyga?

plKuriame mieste gimė jūsų brolis/sesuo?

plKokia jūsų mėgstamiausia futbolo komanda?

plKoks yra jūsų mėgstamiausias maistas?

plKokioje gatvėje gyvenote, kai jums buvo 5 metai?

plKas yra jūsų pavyzdys?

plKas yra jūsų mėgstamiausias istorinis asmuo?

plKas buvo jūsų geriausias draugas, kai jums buvo 11 metų?

plKokia yra jūsų svajonių profesija?

NB: Notice I’ve used Polish for these questions but they are in Lithuanian.

  1. Next is to create a set of HTML files for Lithuanian but they will actually be prefixed with the Polish language code. You can copy the English language ones and translate the text or use the ones I’ve attached. Be careful not to remove the comments from the HMTL pages because our dll uses these to inject text in the pages. There are 7 HTML pages.

  2. If you have more than one language, you will need to add a Lithuanian and English in the language selector form at the bottom of the en_default and pl_default pages.

lt.zip (13.1 KB)

<form class="lang_selector" action="apr.dll" method="get" name="langselector">
   			<select name="lang" onchange="document.forms.langselector.submit();">
   				<option value="en" selected>English</option>
   				<option value="pl">Lietuvių</option>
   			</select>
   		</form>
  1. Finally, you need to modify the page that the credential provider (the NPR client) links to in the Windows Lock Screen to point to the correct page (pl_default.htm). This is done in Group Policy and you can find instructions on how to do that here: Password Reset Client | Netwrix Product Documentation
2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.