Python Converting i18n resource strings into dictionary
<p>I work in localization and as a part of my job we have English resource files translated into multiple languages. As you can see in the crude example below the files contain multiple lines (copyright, disclaimers, comments, ect) I need to convert only the lines containing <code>=</code> to dictionary key/value pairs. Here is an example:</p>

<pre><code>Copyright 2015
resource files for product 'XYZ'

#resource files for backend
String_id_1 = This should be import&lt;br&gt;
String_id_2 = This is another import string&lt;br&gt;
String_id_3 = Another string bla bla

#resource files for plug-in X
String_id_4 = This should be import&lt;br&gt;
String_id_5 = This is another import string&lt;br&gt;
String_id_6 = Another string bla bla
</code></pre>

<p>The purpose of this is to provide a safeguard for my check-ins to compare the keys of EN and other locales for continuity. </p>