Mvvm validation and localization

Feb 8 at 4:56 PM
Edited Feb 8 at 5:29 PM
Hello,

I use the resx in a separate project. Resources do not update according to the language.

ProjectLocalization
-Resources.resx (NomEstRequis=Nom)
-Resources.fr.resx (NomEstRequis=NomFR)
-Resources.en.resx (NomEstRequis=NomEN)

ProjectTest with a reference to ProjectLocalization.

Example of rule used:
Validator.AddRule(() => Nom,
() => { if (string.IsNullOrEmpty(_nom))
return RuleResult.Invalid(ProjectLocalization.Properties.Resources.NomEstRequis); });
Resources do not change based on localization. Is this a problem of Thread?
Feb 8 at 5:31 PM
I found the solution: "CultureInfo.DefaultThreadCurrentUICulture"

Link: http://stackoverflow.com/questions/23241009/localization-and-threading-issue