My question may be easy. But I've never interested with XML. So it is not understandable for me. There is an installation program and it's language files are xml format. Turkish file is very narrow that other languages. So I want to import "turkish.xml" into "general.xml". In "general.xml" file, if there are same nodes, nodes value will be changed. If not, keep it same. For example this is content of my turkish.xml.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="singlelanguage" lang="tr" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="dictionary.xsd">
<STRING id="AI.Directory.DefaultDefaultDir" value="Yeni Klasör"/>
<STRING id="AI.Directory.Default32BitName" value="Otuziki bit"/>
</DICTIONARY>
And below "general.xml" file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="singlelanguage" lang="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="dictionary.xsd">
<STRING id="AI.Directory.DefaultDefaultDir" value="New Folder"/>
<STRING id="AI.Directory.Default32BitName" value="32-bit"/>
<STRING id="AI.DuplicateFile.DestName" value="Duplicate%s of %s"/>
<STRING id="AI.Feature.DefaultTitle" value="Feature"/>
</DICTIONARY>
If I manage it, it will be like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="singlelanguage" lang="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="dictionary.xsd">
<STRING id="AI.Directory.DefaultDefaultDir" value="Yeni Klasör"/>
<STRING id="AI.Directory.Default32BitName" value="Otuziki bit"/>
<STRING id="AI.DuplicateFile.DestName" value="Duplicate%s of %s"/>
<STRING id="AI.Feature.DefaultTitle" value="Feature"/>
</DICTIONARY>
I do not know how I will manage it. Kind regards.