Serenity Platform; LocalText.Get(“Db.something”) in a specific language instead of selected language?

Try resolve ILocalTextRegistry for custom things.

var registry = (LocalTextRegistry)Dependency.Resolve<ILocalTextRegistry>();
registry.TryGet("en-US", "Db.Something");

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top