Is it possible to add suport for wildcards (*, ?) in i18n.BlackList ?
For the moment, I created a custom app setting (ExtendedBlackList) and a postbuild app that uses it to fill i18n.BlackList with the correct values, before doing the same job as i18n.PostBuild.exe
For example, it takes : "*/subfolder/" from i18n.ExtendedBlackList and puts "folder1/subfolder;folder2/subfolder" into i18n.BlackList
Hi,
Is it possible to add suport for wildcards (*, ?) in i18n.BlackList ?
For the moment, I created a custom app setting (ExtendedBlackList) and a postbuild app that uses it to fill i18n.BlackList with the correct values, before doing the same job as i18n.PostBuild.exe
For example, it takes : "*/subfolder/" from i18n.ExtendedBlackList and puts "folder1/subfolder;folder2/subfolder" into i18n.BlackList
Here is the code portion that does that :
IEnumerable<string> blacklist = blacklistsetting.Split(';'); string editedblacklist = string.Join(";", TransformTokens(blacklist, root)); config.SetSetting("i18n.BlackList", editedblacklist);
` private static string allToken = "*"; private static string oneToken = "?";
`