mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 13:33:34 +08:00
Starting to get some content localization hooked up.
- can create new translations and content items (in manage content) link to other localizations of the content - still a bit buggy when creating a new translation to override an existing translation - the ux is still, definately, a bid ol' wip --HG-- branch : dev
This commit is contained in:
@@ -59,7 +59,7 @@ namespace Orchard.Core.Settings.Controllers {
|
||||
return new HttpUnauthorizedResult();
|
||||
|
||||
var viewModel = new SiteCulturesViewModel {
|
||||
CurrentCulture = CultureInfo.CurrentCulture.Name,
|
||||
CurrentCulture = _cultureManager.GetCurrentCulture(HttpContext),
|
||||
SiteCultures = _cultureManager.ListCultures(),
|
||||
};
|
||||
viewModel.AvailableSystemCultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures)
|
||||
|
Reference in New Issue
Block a user