Skip to content

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, JToken> nested, string prefix, 
    string languageID, ILocalTextRegistry registry = null)
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