FluentValidation: How do i put all validation messages at a single location?
<p>This is one of my validation class:</p>

<pre><code>public class StocksValidator : AbstractValidator&lt;Stocks&gt;
    {
        public StocksValidator()
        {
            RuleFor(x =&gt; x.SellerId).GreaterThan(1).WithMessage("SellerId should be greater than 1")
                                    .LessThan(100).WithMessage("SellerId should be less than 100");
            RuleFor(x =&gt; x.SellerType).GreaterThan(101).WithMessage("SellerType should be greater than 101")
                                    .LessThan(200).WithMessage("SellerType should be less than 200");
            RuleFor(x =&gt; x.SourceId).GreaterThan(201).WithMessage("SourceId should be greater than 201")
                                    .LessThan(300).WithMessage("SourceId should be less than 300");
        }
    }
</code></pre>

<p>I understand that these messages like {field} should be less that {x} should be at a common location and not here. But i don't have a clue how to centralize them?</p>

<ol>
<li><p>One way could be to create new c# file with all these constant strings. This is fairly simple.</p></li>
<li><p>Using localization in web api with fluent validation. What are benefits of this. Where do i find its good tutorial?</p></li>
</ol>