How To Send Robot Logs To A Language Different Than The Machine Is Set On

Why the logs from the Orchestrator are still showing in German language even if the Robot is set to EN?

Issue Description: The logs from the Orchestrator are still showing in German language even if the Robot is set EN.

For example, the message error from the Info log section is not fully translated in English, even if the UIPATH_LANGUAGE variable named of the Robot of the machine is set to EN and the language of the machines are set German.

Once the above changes are done and the "UiPath Robot" service restarted from Services, the new logs are expected to appear in English.

Note: Logs are generated by Robot Executor and if the language of the executor is changed, then similar logs will appear in the Orchestrator.

Resolution: Note some of the errors used to build the Info field are .NET Framework exceptions. To have these errors displayed in English, .NET Framework English Language Pack is is needed to be installed and to be activated.

  1. For a newer Windows 10 version, the .NET Framework Language Pack comes as part of the Language Pack and a .NET Framework English Language Pack should be installed.

Using the below command in Windows PowerShell, it is possible to display the language packages which are currently installed.

$OSInfo = Get-WmiObject -Class Win32_OperatingSystem

$languagePacks = $OSInfo.MUILanguages

$languagePacks

This can be also checked in the Registry Editor in the subkey: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full, if the English language is displayed for the .NET Framework installation: 1033 for English (in addition to 1031 for German – 1031, that came with the Windows installation).

![](upload://tDSQelvkZumczKm8VMbCMUriJ3r.html)

  1. Also, in the .NET Framework installation path (in this case C:\Windows\Microsoft.NET\Framework64\v4.0.30319\) the subfolders 1033, en, en-US should be present for English language (in addition to the folders 1031, de, de-DE for German).

![](upload://wbSmqhmJfUQZhMmt3M0k8YYzXVY.html)

  1. After making sure the English Language Pack is available, it is needed to select the English language from the Task Bar and then restart the Robot service.
  2. After these changes (Environment variable set to en + Language preference set to English, and Robot service restart), the error message should be displayed in English in Orchestrator.