public static string GetBestLocalizableFileDistributedWithApplication(bool existenceOfEnglishVersionIsOptional, params string[] partsOfEnglishFilePath)
{
var englishPath = FileLocator.GetFileDistributedWithApplication(existenceOfEnglishVersionIsOptional, partsOfEnglishFilePath);
if(!RobustFile.Exists(englishPath))
{
return englishPath; // just return whatever the original GetFileDistributedWithApplication gave. "", null, whatever it is.
}
return BloomFileLocator.GetBestLocalizedFile(englishPath);
}