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:
Nathan Heskew
2010-07-12 03:03:18 -07:00
parent 801c46ea04
commit 23b101a644
21 changed files with 222 additions and 42 deletions

View File

@@ -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)