I found the solution;
ResourceManager validatorResources = new ResourceManager("OpusERP.Web.UI.App_GlobalResources.Validators", Assembly.GetExecutingAssembly()); string message = NotNullOrEmpty.Replace(prefix, productResources.GetString("Name", Thread.CurrentThread.CurrentCulture)); RuleFor(product => product.Name).NotNull().NotEmpty().WithMessage(message);