Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can do this with a 3rd party tool: <a href="http://www.codeproject.com/KB/aspnet/ZetaResourceEditor.aspx" rel="noreferrer">Zeta Resource Editor</a> </p> <ol> <li>Once you open Zeta Resource Editor (ZRE), you have to create a new ZRE project. </li> <li>Then you have to add your existing resource files into the this project. <ul> <li>To do this automatically for all resource files: <ol> <li>Click on the "File Groups and tags" tab</li> <li>Click on "Automatically add multiple file groups to project" and follow the instructions.</li> </ol></li> </ul></li> <li>To add the new language: <ol> <li>Highlight the appropriate node in the "Project files" tree.</li> <li>Click on the "File Groups and tags" tab</li> <li>Click on "Create new file" and follow the instructions.</li> <li>Make sure you include the newly created resex file into your Visual Studio project.</li> </ol></li> </ol> <p>What's nice about using this tool is that you can also use it to export/import your translations to a spreadsheet for translations. (You can do this from the "Start" tab)</p> <hr> <p>Alternatively, you could write your own small program to do this. The heart of the program is this:</p> <pre><code>using( ResXResourceReader reader = new ResXResourceReader( resourceFileName ) ) using( ResXResourceWriter writer = new ResXResourceWriter( newResourceFileName ) ) { foreach( DictionaryEntry entry in reader ) { writer.AddResource( entry.Key.ToString(), "" ); } writer.Generate(); writer.Close(); } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload