<?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>GUI GuiderのトピックHow to display multi-language on the screen with LVGL using Gui Guider?</title>
    <link>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994093#M1263</link>
    <description>&lt;P&gt;Now I'm going to develop a product with displaying multi-language (such as Chinese, English, Russian, etc.) on the LCD screen using LVGL. &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;I wonder if there is a way to set widgets' texts with parameters?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt; Like define a series of parameters about language and use them set text content:&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;/* --------------------------- Code example --------------------------- */&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;typedef struct {&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; char *itemChinese,&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; char *itemEnglish,&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;} param_language_t;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;param_language_t param_language = {&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; .itemChinese = "你好",&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; .itemEnglish = "Hello",&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;lv_label_set_text_fmt(ui-&amp;gt;screen_main_label_hello, "%s", param_language.itemEnglish);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;/* --------------------------- Code example --------------------------- */&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Or just using a middleware named lv_i18n, which also needs using parameters to set widgets text.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 01:26:34 GMT</pubDate>
    <dc:creator>ChesterLee</dc:creator>
    <dc:date>2024-11-14T01:26:34Z</dc:date>
    <item>
      <title>How to display multi-language on the screen with LVGL using Gui Guider?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994093#M1263</link>
      <description>&lt;P&gt;Now I'm going to develop a product with displaying multi-language (such as Chinese, English, Russian, etc.) on the LCD screen using LVGL. &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;I wonder if there is a way to set widgets' texts with parameters?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt; Like define a series of parameters about language and use them set text content:&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;/* --------------------------- Code example --------------------------- */&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;typedef struct {&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; char *itemChinese,&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; char *itemEnglish,&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;} param_language_t;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;param_language_t param_language = {&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; .itemChinese = "你好",&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; .itemEnglish = "Hello",&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;lv_label_set_text_fmt(ui-&amp;gt;screen_main_label_hello, "%s", param_language.itemEnglish);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;&lt;EM&gt;/* --------------------------- Code example --------------------------- */&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Or just using a middleware named lv_i18n, which also needs using parameters to set widgets text.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 01:26:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994093#M1263</guid>
      <dc:creator>ChesterLee</dc:creator>
      <dc:date>2024-11-14T01:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multi-language on the screen with LVGL using Gui Guider?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994302#M1265</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243024"&gt;@ChesterLee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your post.&amp;nbsp;According to &lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank"&gt;GUI Guider v1.8.1 User Guide&lt;/A&gt;, currently the GUI Guider IDE only supports two language: English and Chinese.&amp;nbsp;However, this can be achieved by developing custom code. The following is an example.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Celeste_Liu_0-1731562555570.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310445i53A7FD1A19E970CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Celeste_Liu_0-1731562555570.png" alt="Celeste_Liu_0-1731562555570.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the detailed description of this example, you can refer to the section of "7.10 How to develop a multi - language application".&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Celeste_Liu_1-1731563390966.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310456i5E3FAB9796964667/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Celeste_Liu_1-1731563390966.png" alt="Celeste_Liu_1-1731563390966.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 05:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994302#M1265</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2024-11-14T05:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multi-language on the screen with LVGL using Gui Guider?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994307#M1266</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/237877"&gt;@Celeste_Liu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Tks for your kindly reply. I wish Gui Guider could support more languages in the future. Anyway, tks a lot!&lt;/P&gt;&lt;P&gt;Best Regard&lt;/P&gt;&lt;P&gt;Chester&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 05:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994307#M1266</guid>
      <dc:creator>ChesterLee</dc:creator>
      <dc:date>2024-11-14T05:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to display multi-language on the screen with LVGL using Gui Guider?</title>
      <link>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994323#M1267</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/243024"&gt;@ChesterLee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I'm glad to help you. I will feed back your suggestion. Any new issues, welcome to create a new thread.&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 06:15:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/How-to-display-multi-language-on-the-screen-with-LVGL-using-Gui/m-p/1994323#M1267</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2024-11-14T06:15:18Z</dc:date>
    </item>
  </channel>
</rss>

