<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Regional Settings - Set System Language doesn't work in Control mode in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Regional-Settings-Set-System-Language-doesn-t-work-in-Control/m-p/60242#M1981</link>
    <description>Hi All,&lt;BR /&gt;I have a solution which is using a CRM system. While CRM system is launching switches the OS language to Greek. However, I need to switch back to English-US for inserting some text later. I tried using the Regional Settings object with the Set System's Language. While I am using it with F10 in process studio it works perfectly fine. However, once I am running the full process from the control room it is totally ignored. I noticed that it is also ignored if I use&amp;nbsp; step out in Process Studio and put the breakpoint enough steps after the Action of language steps. Any idea why such inconsistency occurs and how I can potentially resolve it?&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Theo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 16 Jul 2021 09:56:00 GMT</pubDate>
    <dc:creator>TheodorosPapaso</dc:creator>
    <dc:date>2021-07-16T09:56:00Z</dc:date>
    <item>
      <title>Regional Settings - Set System Language doesn't work in Control mode</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Regional-Settings-Set-System-Language-doesn-t-work-in-Control/m-p/60242#M1981</link>
      <description>Hi All,&lt;BR /&gt;I have a solution which is using a CRM system. While CRM system is launching switches the OS language to Greek. However, I need to switch back to English-US for inserting some text later. I tried using the Regional Settings object with the Set System's Language. While I am using it with F10 in process studio it works perfectly fine. However, once I am running the full process from the control room it is totally ignored. I noticed that it is also ignored if I use&amp;nbsp; step out in Process Studio and put the breakpoint enough steps after the Action of language steps. Any idea why such inconsistency occurs and how I can potentially resolve it?&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Theo&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jul 2021 09:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Regional-Settings-Set-System-Language-doesn-t-work-in-Control/m-p/60242#M1981</guid>
      <dc:creator>TheodorosPapaso</dc:creator>
      <dc:date>2021-07-16T09:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: Regional Settings - Set System Language doesn't work in Control mode</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Regional-Settings-Set-System-Language-doesn-t-work-in-Control/m-p/60243#M1982</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I can't seem to find the "Regional Settings" Object that you are referring to.&amp;nbsp; Could you provide a link to it on the Digital Exchange so that we can investigate further? But based on your description, it may be necessary to add in some "Sleeps" in your process to slow down the execution flow, as it may be the case where the process has gone on to further steps before the actual language change has been completed.&amp;nbsp; Try adding in a 5 second Sleep time after your language change, and see if is works in the Control Room.&amp;nbsp; If it does, you can reduce that sleep to a value that you find appropriate.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The major difference between executing a process from the studio and from the control room is the execution speed.&amp;nbsp; The control room runs much much faster than the studio, which is why I've suggested to add a sleep to see if it helps.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;James Man&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Asia/Hong_Kong&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jul 2021 02:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Regional-Settings-Set-System-Language-doesn-t-work-in-Control/m-p/60243#M1982</guid>
      <dc:creator>james.man</dc:creator>
      <dc:date>2021-07-19T02:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Regional Settings - Set System Language doesn't work in Control mode</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Regional-Settings-Set-System-Language-doesn-t-work-in-Control/m-p/60244#M1983</link>
      <description>Hi James,&lt;BR /&gt;Thank you for your response!&lt;BR /&gt;I joined the project much after it started and I had the wrong impression that "Regional Settings" object was by default in Blue Prism. Unfortunately I was not able to find a link in Digital Exchange. Regardless, the code doing it is the below:&lt;BR /&gt;
&lt;P&gt;&lt;CODE&gt;string myLanguage = Language;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;InputLanguage.CurrentInputLanguage=InputLanguage.FromCulture(new System.Globalization.CultureInfo(myLanguage));&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Code works fine in Process Studio&lt;BR /&gt;Regardless my experiments with the sleep usage it still doesn't work. Seems that when the CRM is running somehow is blocking it. I tried detaching CRM but still didn't work.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Theodoros Papasotiriou&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Regional-Settings-Set-System-Language-doesn-t-work-in-Control/m-p/60244#M1983</guid>
      <dc:creator>TheodorosPapaso</dc:creator>
      <dc:date>2021-07-28T09:02:00Z</dc:date>
    </item>
  </channel>
</rss>

