# How to change the debug message language

**URL:** <https://discourse.nodered.org/t/how-to-change-the-debug-message-language/72307>\
**Category:** General\
**Created:** [16 December 2022 10:33 UTC](https://discourse.nodered.org/t/how-to-change-the-debug-message-language/72307 "2022-12-16T10:33:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yusseiin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yusseiin/32/64534_2.png) [@Yusseiin](https://discourse.nodered.org/u/Yusseiin)\
**Post date:** [16 December 2022 10:33 UTC](https://discourse.nodered.org/t/how-to-change-the-debug-message-language/72307/1 "2022-12-16T10:33:04Z")

</div>

Hi,  
I have a node-red instance running on a vm with Windows 10 where the language OS is set to Italian.  
The debug node is returning error in the same language ( in my case Italian ).  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/1/310b42daaf7be928f9d1a5f2a5b0fcef9a5dbb23.png)  
Is there a way to change the debug node language to english?  
My "View" language is alredy set to "English"

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/7/e7507584491aa859063373f44f51c72b14e8b84e.png)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [16 December 2022 11:02 UTC](https://discourse.nodered.org/t/how-to-change-the-debug-message-language/72307/2 "2022-12-16T11:02:34Z")

</div>

I'm not sure of the internals here, so could be incorrect but I think the View setting is for the editor labels, and isn't setting the language for the runtime, I think that is taken from the OS.

The error is originating from the Node runtime, and it will likely be using the OS language.

I set mine to Korean, and I still get the English language in debug (but labels in the editor are Korean)

unless a restart is needed to apply it to the runtime 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 December 2022 11:12 UTC](https://discourse.nodered.org/t/how-to-change-the-debug-message-language/72307/3 "2022-12-16T11:12:54Z")

</div>

> [@Yusseiin](#):
>
> Is there a way to change the debug node language to english?

As Marcus says, this is not a debug pane issue. The node generating the error is generating it, or is passing it on to you. Since that looks like a database error it may be the database driver that is providing it and nothing to do with node-red.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [16 December 2022 11:37 UTC](https://discourse.nodered.org/t/how-to-change-the-debug-message-language/72307/4 "2022-12-16T11:37:04Z")

</div>

Try adding `process.env.LANG="en-US"` to the very top of your settings.js file and restart Node-RED.

---

<div class="post-metadata">

**Author:** ![Yusseiin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yusseiin/32/64534_2.png) [@Yusseiin](https://discourse.nodered.org/u/Yusseiin)\
**Post date:** [16 December 2022 16:00 UTC](https://discourse.nodered.org/t/how-to-change-the-debug-message-language/72307/5 "2022-12-16T16:00:50Z")

</div>

Adding "process.env.LANG="en-US"" do not change nothing.

The node that gives it is PostgreSQL but the database was installed in english.  
I will try to change the SO language and check if it will fix mine problem

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 February 2023 16:00 UTC](https://discourse.nodered.org/t/how-to-change-the-debug-message-language/72307/6 "2023-02-14T16:00:59Z")

</div>

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