<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Placeholder and language switching</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5026b28da5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5026b28da5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/5026b28da5/</id><updated>2023-02-28T15:43:40.597000Z</updated><subtitle>Recent posts to Placeholder and language switching</subtitle><entry><title>Placeholder and language switching</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5026b28da5/?limit=250#faf9" rel="alternate"/><published>2023-02-28T15:43:40.597000Z</published><updated>2023-02-28T15:43:40.597000Z</updated><author><name>dkugler</name><uri>https://forge.codesys.com/u/dkugler/</uri></author><id>https://forge.codesys.com8ec98d0f471f455194c249f526a351a092002fa7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;create a textlist with your needed and translated texts.&lt;br/&gt;
Using the function DynamicTextGetText from the lib CmpDynamicText you should be able to "feed" your string variable with the translated texts. The function needs a pointer to the extlist and the index of the text in the list as input. Good luck!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Placeholder and language switching</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/5026b28da5/?limit=25#3f73" rel="alternate"/><published>2023-02-28T09:03:57.044000Z</published><updated>2023-02-28T09:03:57.044000Z</updated><author><name>automatisme</name><uri>https://forge.codesys.com/u/automatisme/</uri></author><id>https://forge.codesys.com4492a6023534a08930d802a0556bd035545522d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good morning,&lt;/p&gt;
&lt;p&gt;How to manage language switching with placeholders? Let's say, I plan to pass a text to a button ("Turn off", for instance), through a variable linked to a placeholder %s; how to make this text be translated at the same time as the rest of the display in case of a language change? I have the impression that we should be able to link a list of text to the variable or something like that, but I really don't see how to do it.&lt;/p&gt;
&lt;p&gt;Can anyone help me?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>