U4-6363 - Expose Dictionary item access on UmbracoHelper

Created by Shannon Deminick 05 Mar 2015, 03:00:42 Updated by Shannon Deminick 18 May 2015, 03:40:12

Relates to: U4-6352

Subtask of: U4-5830

Currently the legacy library is used to get dictionary items, with 7.3 all of the Services layer is up to date which can retrieve dictionary items, however we should expose IDictionaryItem to the front-end since that is a business logic class, the UmbracoHelper (well, a sub class that UmbracoHelper uses) should expose front-end dictionary items


Shannon Deminick 18 May 2015, 03:14:46

Marked as a breaking change because ICultureDictionary has a new method added:

IDictionary<string, string> GetChildren(string key);

Shannon Deminick 18 May 2015, 03:40:05

Exposes the ICultureDictionary on the UmbracoHelper and adds another method to ICultureDictionary. You can now do this for example:

            @* This already existed *@
            @* More methods available now since we expose the Culture dictionary *@
            @foreach(var child in @Umbraco.CultureDictionary.GetChildren("Test")) 
                <li>@child.Key = @child.Value</li>

Priority: Normal

Type: Task

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal


Backwards Compatible: False

Fix Submitted:

Affected versions:

Due in version: 7.3.0


Story Points: