JsonLocalTextRegistration.AddFromNestedDictionary method

namespace: Serenity.Localization   assemblySerenity.Net.Core

Adds translation from a hierarchical local text dictionary parsed from JSON file.

public static void AddFromNestedDictionary(IDictionary<string, object> nested, string prefix, 
    string languageID, ILocalTextRegistry registry)
parameter description
nested Object parsed from local text JSON string
prefix Prefix to prepend before local text keys
languageID Language ID
registry Registry

See Also