<?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 find the context of a string?]]></title><description><![CDATA[<p dir="auto">I want to update a translation file by adding new strings from the latest english.xml file.</p>
<p dir="auto">Sometimes, context is required to write the best localized string, but in some cases, I simply could’t find it in the latest version of the editor.</p>
<p dir="auto">How can I find where a string is being used?</p>
<p dir="auto">BTW, is it safe to remove strings that no longer appear in the official english.xml file?</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/23413/how-to-find-the-context-of-a-string</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 02:29:50 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/23413.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Aug 2022 17:35:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to find the context of a string? on Sat, 27 Aug 2022 11:47:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26172">@vitococl</a> said in <a href="/post/79359">How to find the context of a string?</a>:</p>
<blockquote>
<p dir="auto">If there is some sort of communication between the author and the localizer volunteers.</p>
</blockquote>
<p dir="auto">This was just a guess on my part, coming from watching what gets submitted when.  I don’t know any details.</p>
<p dir="auto">I also don’t know if there is a localization volunteer for the language you are interested in.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79360</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79360</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 27 Aug 2022 11:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to How to find the context of a string? on Sat, 27 Aug 2022 11:01:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/79358">How to find the context of a string?</a>:</p>
<blockquote>
<p dir="auto">I think there is some sort of notification to known translators that a release is imminent, because I do notice flurries of translations being done right before a release happens, and they are not being done by the Notepad++ author – the only one who knows when a release is about to happen.</p>
</blockquote>
<p dir="auto">I’m new in this community. If there is some sort of communication between the author and the localizer volunteers, I’m probably making noise here. I’m not a new guy in localization, and I don’t want to annoy others if there are experienced teams around this development.</p>
<p dir="auto">I got into this is because I’m a returning user for the app and I found that there were too many untranslated strings as I could verify in the latest XML file from the repo.</p>
<p dir="auto">But I also found that there are some missing stings in the source english.xml files, and that already translated strings are not being used by the app. I guess that I should submit an issue, but that will take some time, app usage time to find enough cases and to explore the source code…</p>
<p dir="auto">Thank you for your help and pointers to the source code for the examples. That made me understand better what is going on.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79359</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79359</guid><dc:creator><![CDATA[vitococl]]></dc:creator><pubDate>Sat, 27 Aug 2022 11:01:43 GMT</pubDate></item><item><title><![CDATA[Reply to How to find the context of a string? on Sat, 27 Aug 2022 01:02:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26172">@vitococl</a> said in <a href="/post/79356">How to find the context of a string?</a>:</p>
<blockquote>
<p dir="auto">The latest english.xml file in the repository says 8.4.1</p>
</blockquote>
<p dir="auto">I don’t think what it says in that file means much.  It seems to always trail behind.</p>
<blockquote>
<p dir="auto">But I think it’s better to have this strings translated before the next release</p>
</blockquote>
<p dir="auto">Ideally yes, but in practice it doesn’t always happen.  I think there is some sort of notification to known translators that a release is imminent, because I do notice flurries of translations being done right before a release happens, and they are not being done by the Notepad++ author – the only one who knows when a release is about to happen.</p>
<blockquote>
<p dir="auto">Should the status line be translated</p>
</blockquote>
<p dir="auto">I don’t know if it should be, but it clearly isn’t (see <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/blob/6263ce5dece595543bbfaa4207391075ae3a212a/PowerEditor/src/Notepad_plus.cpp#L3786" rel="nofollow ugc">HERE</a> where they are all “hard coded”).</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79358</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79358</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Sat, 27 Aug 2022 01:02:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to find the context of a string? on Fri, 26 Aug 2022 21:25:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/79348">How to find the context of a string?</a>:</p>
<blockquote>
<p dir="auto">The examples you used (all 3) are “bleeding edge”, meaning that english.xml has been changed in the github code repo but a release of Notepad++ has not occurred that make use of the newest items.</p>
</blockquote>
<p dir="auto">The latest english.xml file in the repository says 8.4.1 and the installed app is 8.4.4, so I expected that all the items in the file to be present in the app. I think that it was my fault to download it from the repo because my installation did not have the localization folder (I guess it was because I did a default install).</p>
<p dir="auto">But I think it’s better to have this strings translated before the next release… or not?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/79348">How to find the context of a string?</a>:</p>
<blockquote>
<p dir="auto">Does this make sense? Do you know how to do all that (assuming if you are savvy enough to “watch” changes in english.xml in the github repo, you know how to do this other stuff)?</p>
</blockquote>
<p dir="auto">Yes, it makes sense, but I didn’t want to track changes in english.xml from the lastest version of the file I’m working on, so I just wrote a script that merges both latest versions and highlights untranslated lines (the new ones) in the resulting file.</p>
<p dir="auto">Then, I’ll have to decide about how to submit my updated file.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/79348">How to find the context of a string?</a>:</p>
<blockquote>
<p dir="auto">Probably not unless someone points out these bits of text in the form of an “issue”.  Otherwise developers won’t know that something more needs to be translated.</p>
</blockquote>
<p dir="auto">Should the status line be translated or is it WAD? I see “length : NNN lines : NN”. Besides that I read “Ln”, “Col” and “Pos”, and those fit to both English and Spanish (the language I’m interested in), and I don’t think that those are localized because there is no mention of them in the XML files.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79356</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79356</guid><dc:creator><![CDATA[vitococl]]></dc:creator><pubDate>Fri, 26 Aug 2022 21:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to How to find the context of a string? on Fri, 26 Aug 2022 18:59:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26172">@vitococl</a></p>
<p dir="auto">So as an example, for the 50010 and 50011 you mentioned…</p>
<p dir="auto">There’s a <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/commit/851900334cc9699818230ad686ead79a3ecc79c0" rel="nofollow ugc">commit</a> for this change.<br />
From that commit, you can see other code changes that went along with changing english.xml, and you can also see the <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12017" rel="nofollow ugc">PR - pull request</a> and the <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11950" rel="nofollow ugc">issue</a> that the final commit originated from:</p>
<p dir="auto"><img src="/assets/uploads/files/1661540315679-875b4d04-b724-4083-b515-ed56db59f663-image.png" alt="875b4d04-b724-4083-b515-ed56db59f663-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The issue and PR should contain enough discussion materials for you to understand the change and gather enough context to do a translation.</p>
<p dir="auto">In the event that it doesn’t you can follow the procedure <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Testing#:~:text=the%20official%20guidelines.-,Using%20a%20Pull%2DRequest%20(PR)%20build%20version%20of%20Notepad%2B%2B,-To%20verify%20that" rel="nofollow ugc">HERE</a> to get the code and attempt to try out the new feature.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79349</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79349</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 26 Aug 2022 18:59:21 GMT</pubDate></item><item><title><![CDATA[Reply to How to find the context of a string? on Fri, 26 Aug 2022 18:48:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26172">@vitococl</a></p>
<p dir="auto">The examples you used (all 3) are “bleeding edge”, meaning that english.xml has been changed in the github code repo but a release of Notepad++ has not occurred that make use of the newest items.</p>
<p dir="auto">Your best bet may be to see the other code changes that went along with these new additions, to see if that will give you proper context for doing a good translation.  Usually there is an “issue” and a “PR” for all changes, so you should be able to track it that way.</p>
<p dir="auto">You can also download an unreleased .exe with the changes in it, to actually see the code working (ahead of a real release), and thereby understand the change context enough to do your translation.</p>
<p dir="auto">Does this make sense? Do you know how to do all that (assuming if you are savvy enough to “watch” changes in english.xml in the github repo, you know how to do this other stuff)?</p>
<blockquote>
<p dir="auto">there are some unlocalized texts in the app. Should I expect them to appear in english.xml file soon?</p>
</blockquote>
<p dir="auto">Probably not unless someone points out these bits of text in the form of an “issue”.  Otherwise developers won’t know that something more needs to be translated.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79348</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79348</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 26 Aug 2022 18:48:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to find the context of a string? on Fri, 26 Aug 2022 18:30:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7377">@Alan-Kilborn</a> said in <a href="/post/79345">How to find the context of a string?</a>:</p>
<blockquote>
<p dir="auto">Probably an example here would help.</p>
</blockquote>
<pre><code>&lt;Item id="50010" name="Function Parameters Previous Hint"/&gt;
&lt;Item id="50011" name="Function Parameters Next Hint"/&gt;
</code></pre>
<p dir="auto">There are some texts that should be on a given menu but do not appear, so I guess that it was included in the english.xml file before releasing it to the wild or removed from the app but not from the file. An example:</p>
<pre><code>&lt;Item id="6132" name="Hide right shortcuts ＋ ▼ ✕ from the menu bar (Need to restart Notepad++)"/&gt;

</code></pre>
<p dir="auto">Also, there are some unlocalized texts in the app. Should I expect them to appear in english.xml file soon?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79347</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79347</guid><dc:creator><![CDATA[vitococl]]></dc:creator><pubDate>Fri, 26 Aug 2022 18:30:02 GMT</pubDate></item><item><title><![CDATA[Reply to How to find the context of a string? on Fri, 26 Aug 2022 17:42:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/26172">@vitococl</a> said in <a href="/post/79344">How to find the context of a string?</a>:</p>
<blockquote>
<p dir="auto">I simply could’t find it in the latest version of the editor.</p>
</blockquote>
<p dir="auto">Probably an example here would help.</p>
<blockquote>
<p dir="auto">is it safe to remove strings that no longer appear in the official english.xml file?</p>
</blockquote>
<p dir="auto">Yes.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/79345</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/79345</guid><dc:creator><![CDATA[Alan Kilborn]]></dc:creator><pubDate>Fri, 26 Aug 2022 17:42:40 GMT</pubDate></item></channel></rss>