runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Support retrieving the full set of resource strings for a given culture

Open DamianEdwards opened this issue 11 years ago • 3 comments

On .NET Framework, the ResourceManager allows you to get the full set of strings for a given culture by loading its ResourceSet. We'd like this to be possible in .NET Core (although the requirement to expose it via ResourceSet is not necessary, a simple IDictionary<string, string> or similar would suffice).

This is required in web scenarios to enable sending back the full set of resource strings to the client so that they can be utilized when performing client-side rendering via JavaScript.

DamianEdwards avatar Feb 19 '15 21:02 DamianEdwards

Linking dotnet/runtime#14253 as these are both API requests for ResourceManager. @DamianEdwards when do you need this by?

/cc @tarekgh

joshfree avatar Feb 19 '15 21:02 joshfree

@joshfree we're starting our work on this now and we'd like these features for 1.0 so within the next month.

DamianEdwards avatar Feb 19 '15 21:02 DamianEdwards

With the 67da6227c39c5eca7fa5ce98fc2cdb91c27e40e4 you can implement your own Resource Manger for example like here

ramarag avatar Apr 11 '15 00:04 ramarag