Why are resx cultures not found in unit tests?
I have embedded string resources in my .NET 4.0 project: Strings.resx and Strings.de.resx.

In **production code** the correct localised strings are retrieved, dependent on the value of Strings.Culture:

    Strings.Culture = new Culture("de");
    string deString = Strings.Welcome;  // 'Willkommen'
    Strings.Culture = new Culture("en");
    string enString = Strings.Welcome;  // 'Welcome'

But in my **unit test code** the strings from 'Strings.de.resx' are never returned - I only ever get the strings from Strings.resx, no matter what the values of `Strings.Culture` or `Threads.CurrentThread.CultureUICulture`.

Can anybody help?
Why are resx cultures not found in unit tests?
===

I have embedded string resources in my .NET 4.0 project: Strings.resx and Strings.de.resx.

In **production code** the correct localised strings are retrieved, dependent on the value of Strings.Culture:

    Strings.Culture = new Culture("de");
    string deString = Strings.Welcome;  // 'Willkommen'
    Strings.Culture = new Culture("en");
    string enString = Strings.Welcome;  // 'Welcome'

But in my **unit test code** the strings from 'Strings.de.resx' are never returned - I only ever get the strings from Strings.resx, no matter what the values of `Strings.Culture` or `Threads.CurrentThread.CultureUICulture`.

Can anybody help?