<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to replace all numbered ID with a list of name in different languages]]></title><description><![CDATA[<p dir="auto">So i have a master txt file that contain some keyword of an item ID, for example</p>
<p dir="auto">ID0001<br />
ID0002<br />
ID0003</p>
<p dir="auto">Then i want to make a copy of that and replace all IDxxxx into a name that match the ID but in different languages, like:</p>
<p dir="auto">ID0001, Bicycle, Fahrrad, Bicicletta</p>
<p dir="auto">So essentially replace id0001 into bicycle in different languages, but just one language for one copy of the files</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/26064/how-to-replace-all-numbered-id-with-a-list-of-name-in-different-languages</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 09:32:05 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/26064.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Sep 2024 00:47:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to replace all numbered ID with a list of name in different languages on Sun, 01 Sep 2024 22:08:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-knoefel" aria-label="Profile: Thomas-Knoefel">@<bdi>Thomas-Knoefel</bdi></a><br />
I see, thanks i will try that later</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96370</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96370</guid><dc:creator><![CDATA[Farhan Syabibi]]></dc:creator><pubDate>Sun, 01 Sep 2024 22:08:06 GMT</pubDate></item><item><title><![CDATA[Reply to How to replace all numbered ID with a list of name in different languages on Sun, 01 Sep 2024 11:09:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/farhan-syabibi" aria-label="Profile: Farhan-Syabibi">@<bdi>Farhan-Syabibi</bdi></a></p>
<p dir="auto">I gave a  more advanced version with <strong>MultiReplace</strong> a go. But try version of the previous post first.</p>
<p dir="auto">Enable ‘<strong>Use Variables</strong>’ before adding each line into the list.</p>
<p dir="auto">By changing the number for LANG in the init part from 1 to 3, you can switch between the language replacements. Just right click on the entry and choose 'Edit Field ’ in the Context menu.</p>
<p dir="auto">But I have to mention. It is necessary to combine the init command with a single match that appears first in the document; otherwise, the init will not be triggered and the following lines are failing. Or you put the init into each line.</p>
<p dir="auto">So list look finally like this:<br />
<img src="/assets/uploads/files/1725185925102-5669c085-8004-4e4a-bf02-cbfc5a0b7ffe-image.png" alt="5669c085-8004-4e4a-bf02-cbfc5a0b7ffe-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Simply copy-paste this raw data into the replacement list, for testing:</p>
<pre><code>1,"ID0001","init({LANG=3});set((({""Bicycle"", ""Fahrrad"", ""Bicicletta""})[LANG]) );",0,0,1,0,0
1,"ID0002","set(({""Mountain Bike"", ""Mountainbike"", ""Bicicletta da montagna""})[LANG]);",0,0,1,0,0
1,"ID0003","set(({""Airplane"", ""Flugzeug"", ""Aeroplano""})[LANG]);",0,0,1,0,0
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/96368</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96368</guid><dc:creator><![CDATA[Thomas Knoefel]]></dc:creator><pubDate>Sun, 01 Sep 2024 11:09:55 GMT</pubDate></item><item><title><![CDATA[Reply to How to replace all numbered ID with a list of name in different languages on Sun, 01 Sep 2024 09:37:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/farhan-syabibi" aria-label="Profile: Farhan-Syabibi">@<bdi>Farhan-Syabibi</bdi></a><br />
You can achieve this with the MultiReplace Plugin, but for simplicity, I recommend splitting the replacement tasks into different languages.</p>
<p dir="auto">To do this, create a replacement list in the MultiReplace Plugin that looks like this:<br />
<img src="/assets/uploads/files/1725183446167-9c0e972c-ebe1-4943-852e-0ecc0f06980f-image.png" alt="9c0e972c-ebe1-4943-852e-0ecc0f06980f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You can also generate the Replacement list as it is stored in CSV format.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96367</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96367</guid><dc:creator><![CDATA[Thomas Knoefel]]></dc:creator><pubDate>Sun, 01 Sep 2024 09:37:29 GMT</pubDate></item><item><title><![CDATA[Reply to How to replace all numbered ID with a list of name in different languages on Sun, 01 Sep 2024 04:28:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/farhan-syabibi" aria-label="Profile: Farhan-Syabibi">@<bdi>Farhan-Syabibi</bdi></a><br />
This is a job for a scripting language like <a href="https://www.python.org/" rel="nofollow ugc">Python</a> or <a href="https://learn.microsoft.com/en-us/powershell/" rel="nofollow ugc">PowerShell</a>. If you need help writing scripts in a scripting language, this is the wrong place to ask questions.</p>
<p dir="auto">Somebody else might chime in with a way to use Notepad++ builtin functionality or plugins to solve your problem, but IMO that is much less efficient than just using a scripting language.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/96366</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/96366</guid><dc:creator><![CDATA[Mark Olson]]></dc:creator><pubDate>Sun, 01 Sep 2024 04:28:15 GMT</pubDate></item></channel></rss>