void exportFolderNamesTranslations(string path, StringBuilder translations, string separator, string extraSeparators, int len)
{
foreach (string subdir in Directory.GetDirectories(path))
{
translations.AppendFormat("FolderName{0}{1}{0}{2}{3}\r\n", separator, Helper.QuoteDouble(subdir.Substring(len)), Helper.QuoteDouble(Path.GetFileName(subdir)), extraSeparators);
translations.AppendFormat("FolderPath{0}{1}{0}{2}{3}\r\n", separator, Helper.QuoteDouble(subdir.Substring(len)), Helper.QuoteDouble(subdir.Substring(len)), extraSeparators);
exportFolderNamesTranslations(subdir, translations, separator, extraSeparators, len);
}
}