<?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>question Re: Translating the alert message in catalog client script to another language in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/3189734#M536328</link>
    <description>&lt;P&gt;Hi Raghav,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar requirement, trying to show an alert message in different languages on the portal. But it is not working as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my code placed in widget(client script). If possible for you, could you please let me know if I need to modify anything in the below code.&lt;BR /&gt;&lt;BR /&gt;getMessage('Downloaded_Report_successfully', function(translatedMessage) {&lt;BR /&gt;&lt;BR /&gt;alert(translatedMessage);&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2025 21:01:29 GMT</pubDate>
    <dc:creator>Ramya Neelam1</dc:creator>
    <dc:date>2025-02-26T21:01:29Z</dc:date>
    <item>
      <title>Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2410605#M480503</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a catalog client script to get an error message.&lt;/P&gt;&lt;P&gt;In that I used alert(); to get that message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to translate the message into another language.&lt;/P&gt;&lt;P&gt;Can you please help with this?&lt;/P&gt;&lt;P&gt;I have also tried to create a Key in Messages&amp;gt;&amp;gt; in&amp;gt;&amp;gt; System Localization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chetan Marathe&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 13:29:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2410605#M480503</guid>
      <dc:creator>Chetan Marathe</dc:creator>
      <dc:date>2022-12-09T13:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2410616#M480504</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/384958"&gt;@Chetan Marathe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Follow the steps Mentioned here :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/tokyo-platform-administration/page/administer/localization/task/t_TranslateAClientScriptMessage.html" target="_blank"&gt;https://docs.servicenow.com/bundle/tokyo-platform-administration/page/administer/localization/task/t_TranslateAClientScriptMessage.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_6190c0fb6982faSandeepDutta_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;SECTION class="section context"&gt;&lt;/SECTION&gt;</description>
      <pubDate>Fri, 09 Dec 2022 13:37:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2410616#M480504</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2022-12-09T13:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2410629#M480505</link>
      <description>&lt;P&gt;1. use below code instead of alert.&lt;/P&gt;
&lt;PRE&gt;getMessage('alert_message', function(msg){alert(msg);});&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;2. create an entry in "sys_ui_message" table for the alert message you are passing above in required language.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG style="color: black;"&gt;Please mark the answer correct/helpful accordingly.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 13:40:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2410629#M480505</guid>
      <dc:creator>Raghav Sharma24</dc:creator>
      <dc:date>2022-12-09T13:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2410635#M480506</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/384958"&gt;@Chetan Marathe&lt;/a&gt;&amp;nbsp;&lt;STRONG&gt;Detailed ServiceNow documentation link.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.servicenow.com/en-US/bundle/tokyo-platform-administration/page/administer/localization/task/t_TranslateAClientScriptMessage.html" target="_self"&gt;https://docs.servicenow.com/en-US/bundle/tokyo-platform-administration/page/administer/localization/task/t_TranslateAClientScriptMessage.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please mark as helpful or correct answer based on impact&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 13:44:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2410635#M480506</guid>
      <dc:creator>jaheerhattiwale</dc:creator>
      <dc:date>2022-12-09T13:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2524175#M490812</link>
      <description>&lt;P&gt;This worked like a charm, thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 13:45:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2524175#M490812</guid>
      <dc:creator>arnoh</dc:creator>
      <dc:date>2023-04-03T13:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2749404#M508501</link>
      <description>&lt;P&gt;This works, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 07:54:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/2749404#M508501</guid>
      <dc:creator>Manikmodi16</dc:creator>
      <dc:date>2023-12-01T07:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/3076654#M529730</link>
      <description>&lt;P&gt;Worked, Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 14:29:27 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/3076654#M529730</guid>
      <dc:creator>xhensilahad</dc:creator>
      <dc:date>2024-10-17T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/3156280#M534082</link>
      <description>&lt;P&gt;It worked &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Thanks!!!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 15:19:14 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/3156280#M534082</guid>
      <dc:creator>nirwan_ritik</dc:creator>
      <dc:date>2025-01-22T15:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Translating the alert message in catalog client script to another language</title>
      <link>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/3189734#M536328</link>
      <description>&lt;P&gt;Hi Raghav,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar requirement, trying to show an alert message in different languages on the portal. But it is not working as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my code placed in widget(client script). If possible for you, could you please let me know if I need to modify anything in the below code.&lt;BR /&gt;&lt;BR /&gt;getMessage('Downloaded_Report_successfully', function(translatedMessage) {&lt;BR /&gt;&lt;BR /&gt;alert(translatedMessage);&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 21:01:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/translating-the-alert-message-in-catalog-client-script-to/m-p/3189734#M536328</guid>
      <dc:creator>Ramya Neelam1</dc:creator>
      <dc:date>2025-02-26T21:01:29Z</dc:date>
    </item>
  </channel>
</rss>

