<p>I'm building a C++/MFC program in a multilingual environment. I have one main (national) language and three international languages. Every time I add a feature to the program I have to keep the international languages up-to-date with the national one. The resource editor in Visual Studio is not very helpful because I frequently end up leaving a string, dialog box, etc., untranslated.</p>

<p>I wonder if you guys know of a program that can edit resource (.rc) files and</p>

<ul>
<li>Build a file that includes only the strings to be translated and their respective IDs and accepts the same (or similar) file in another language (this would be helpful since usually the translation is done by someone else), or</li>
<li>Handle the translations itself, allowing to view the same string in different languages at the same time.</li>
</ul>

[{'answer_id': 52434, 'author': 'Nick Berardi', 'author_id': 17, 'author_profile': 'https://Stackoverflow.com/users/17', 'pm_score': 0, 'selected': False, 'text': "<p>If there isn't one, it would be pretty easy to loop through all the strings in a resource a compare them to the international resources.  You could probably do this with a simple grid.</p>\n"}, {'answer_id': 53454, 'author': 'Nic Strong', 'author_id': 2281, 'author_profile': 'https://Stackoverflow.com/users/2281', 'pm_score': 0, 'selected': False, 'text': '<p>In the end we have ended up building our own external tools to manage this. Our devs work in the english string table and every automated build sends our strings that have been added/changed and deleted to translation manager. He can also run a report at anytime from an old build to determine what is required for translation.</p>\n'}, {'answer_id': 60315, 'author': 'jmatthias', 'author_id': 2768, 'author_profile': 'https://Stackoverflow.com/users/2768', 'pm_score': 2, 'selected': False, 'text': "<p>In my experience, internationalization requires a little more than translating strings. Many strings when translated, require more space on a dialog. Because of this it's useful to be able to customize the dialogs for each language. Otherwise you have to create dialogs with extra space for the translated strings which then looks less than optimal when displayed in English.</p>\n\n<p>Quite a while back I was using a translation tool for an MFC application but the company that produced the software stopped selling it. When I tried to find a reasonably priced replacement I did not find one.</p>\n"}, {'answer_id': 60345, 'author': 'Brian Ensink', 'author_id': 1254, 'author_profile': 'https://Stackoverflow.com/users/1254', 'pm_score': 0, 'selected': False, 'text': '<p>Check out <a href="http://www.schaudin.com/web/Home.aspx" rel="nofollow noreferrer">RC-WinTrans</a>.  Its a commercial tool that my company uses.  It basically imports our .RC files (or .resx files) into a database which we send to a different office for translation.  The tool can then export a translated .RC file (or .resx file) for each language from the database.  It even has a basic dialog box editor so the translator can adjust the size of various controls in the dialog box to be sure the translated text fits.</p>\n\n<p>It also accepts a number of command line arguments and has a COM automation interface so you can integrate it into a build process more easily.  It works quite well for us and we literally have thousands and thousands of strings and dialog boxes, etc.</p>\n\n<p>(We currently have version 7 so what I\'ve said might be a little bit different than their latest version 8.)</p>\n'}, {'answer_id': 60364, 'author': 'On Freund', 'author_id': 2150, 'author_profile': 'https://Stackoverflow.com/users/2150', 'pm_score': 2, 'selected': False, 'text': '<p>Check out <a href="http://www.lingobit.com/" rel="nofollow noreferrer">Lingobit Localizer</a>. Expensive, but well worth it.</p>\n'}, {'answer_id': 65313, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': '<p>Here\'s a script I use to generate resource files for testing in different languages.  It just parses a response from babelfish so clearly the translation will be about as high quality as that done by a drunken monkey, but it\'s useful for testing and such</p>\n\n<hr>\n\n<pre><code>for i in $trfile\ndo\n    key=`echo $i | sed \'s/^\\(.*\\)=\\(.*\\)$/\\1/g\'`\n    value=`echo $i | sed \'s/^\\(.*\\)=\\(.*\\)$/\\2/g\'`\n    url="http://babelfish.altavista.com/tr?doit=done&amp;intl=1&amp;tt=urltext&amp;lp=$langs&amp;btnTrTxt=Translate&amp;trtext=$value"\n    wget -O foo.html -A "$agent" "$url" *&amp;&gt; /dev/null\n    tx=`grep "&lt;td bgcolor=white class=s&gt;&lt;div style=padding:10px;&gt;" foo.html`\n    tx=`echo $tx | iconv -f latin1 -t utf-8 | sed \'s/&lt;td bgcolor=white class=s&gt;&lt;div style=padding:10px;&gt;\\(.*\\)&lt;\\/div&gt;&lt;\\/td&gt;/\\1/g\'`\n    echo $key=$tx\ndone\n\nrm foo.html\n</code></pre>\n'}, {'answer_id': 70407, 'author': 'Roel', 'author_id': 11449, 'author_profile': 'https://Stackoverflow.com/users/11449', 'pm_score': 0, 'selected': False, 'text': '<p>Also try AppTranslator: <a href="http://www.apptranslator.com/" rel="nofollow noreferrer">http://www.apptranslator.com/</a>. It has a build-in resource editor so that translators can, for example, enlargen a text box when need bo. It has separate versions for developers and translators and much more.</p>\n'}, {'answer_id': 71359, 'author': 'titanae', 'author_id': 2387, 'author_profile': 'https://Stackoverflow.com/users/2387', 'pm_score': 2, 'selected': False, 'text': '<p>Check out <a href="http://www.apptranslator.com/" rel="nofollow noreferrer">appTranslator</a>, its relatively cheap and works rather well. The guy developing it is really responsive to enhancement requests and bug report, so you get really good support.</p>\n'}, {'answer_id': 77807, 'author': 'Javier De Pedro', 'author_id': 14053, 'author_profile': 'https://Stackoverflow.com/users/14053', 'pm_score': 0, 'selected': False, 'text': '<p>We are using Multilizer (<a href="http://www.multilizer.com/" rel="nofollow noreferrer">http://www.multilizer.com/</a>) and although sometimes it\'s a bit tricky to use, at the end with a bit of patient it works pretty well.</p>\n\n<p>We even have a translation web site where translators can download our projects and then upload the translations using Multilizer command-line features.</p>\n'}, {'answer_id': 84862, 'author': 'Larry Silverman', 'author_id': 7752, 'author_profile': 'https://Stackoverflow.com/users/7752', 'pm_score': 2, 'selected': False, 'text': '<p>You might take a look at Sisulizer <a href="http://www.sisulizer.com" rel="nofollow noreferrer">http://www.sisulizer.com</a>.  Expensive though.  We\'re evaluating it for use at my company to manage the headache of ongoing translation.  I read on their About page that the company was founded by people who left Multilizer and other similar companies.</p>\n'}, {'answer_id': 102756, 'author': 'Serge Wautier', 'author_id': 12379, 'author_profile': 'https://Stackoverflow.com/users/12379', 'pm_score': 0, 'selected': False, 'text': '<p>Managing localization and translations using .rc files and Visual Studio is not a good idea. It\'s much smarter (though counter-intuitive) to start localization through the exe. Read here why: <a href="http://www.apptranslator.com/misconceptions.html" rel="nofollow noreferrer">http://www.apptranslator.com/misconceptions.html</a></p>\n'}, {'answer_id': 666434, 'author': 'Germstorm', 'author_id': 18631, 'author_profile': 'https://Stackoverflow.com/users/18631', 'pm_score': -1, 'selected': False, 'text': '<p><a href="http://resxcrunch.com" rel="nofollow noreferrer">ResxCrunch</a> will be out soon, it will edit multiple resource files in multiple languages in one single table.</p>\n'}, {'answer_id': 32172450, 'author': 'ekkis', 'author_id': 709223, 'author_profile': 'https://Stackoverflow.com/users/709223', 'pm_score': 0, 'selected': False, 'text': '<p>I\'ve written this recently, which integrates into VS:</p>\n\n<p><a href="https://github.com/ekkis/Powershell/blob/master/MT.ps1" rel="nofollow">https://github.com/ekkis/Powershell/blob/master/MT.ps1</a> </p>\n\n<p>largely because I was unsatisfied with the solutions out there.  you\'ll need to get a client id from M$ (but they give you 2M words/month translation free - not bad) </p>\n'}]
['https://Stackoverflow.com/questions/51948', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4880/']