title: Function for getting localized path?
body: <p>Windows 7 (and probably Windows Vista) display localized folder names using the <code>LocalizedResourceName</code> entry in the <code>desktop.ini</code> file. For my <code>Documents</code> folder, this looks like</p>
  
  <pre><code>[.ShellClassInfo]
  LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770
  IconResource=%SystemRoot%\system32\imageres.dll,-112
  IconFile=%SystemRoot%\system32\shell32.dll
  IconIndex=-235
  </code></pre>
  
  <p>(see <a href="https://stackoverflow.com/questions/4358580/getting-the-friendly-name-for-window-startmenu-items-shortcut-files">this</a> question)</p>
  
  <p>This way the explorer displays the path "C:\Users\Username\Documents" as "C:\Benutzer\Username\Dokumente" on a german Windows.</p>
  
  <p>I wonder, if there's any build-in shell function to automatically get this localized name or, even better, transform a whole path into its localized form (best would be anything in .NET)? </p>
  
  <p>This is even more interesting as the <code>LocalizedResourceName</code> entry is only documented for Windows CE (see <a href="http://msdn.microsoft.com/en-us/library/ms906608.aspx" rel="nofollow noreferrer">here</a>).</p>
  
  <p>Thanks</p>
  
  <p>Martin</p>