Try our conversational search powered by Generative AI!

Current language branch in SelectionFactory


In my selection factory class for my custom property, how can I get to the current language branch? I can't seem to find a good way to get to it.

Jun 22, 2014 1:16

Something like:

var languageBranchRepository = ServiceLocator.Current.GetInstance<ILanguageBranchRepository>();
var language = languageBranchRepository.Load(CultureInfo.CurrentUICulture);

Jun 23, 2014 8:47

Hmm. I believe that gives me the language of the UI and not the language branch I'm currently working in.

Jun 24, 2014 21:04


should provide you the current working language.

Jun 25, 2014 15:48

Great, thank you Khan!

Sorry for the late reply. (For some reason I get an error message as I try to mark it as solved but I'll try again later)

Jul 08, 2014 20:16
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.