Skip to content

JsonLocalTextRegistration.AddJsonTexts method

namespace: Serenity.Localization   assemblySerenity.Net.Core

Adds translations from JSON files at specified path. File names in this directory should be in format ..json where is a language code like 'en', 'en-GB' etc.

public static void AddJsonTexts(this ILocalTextRegistry registry, string path)
parameter description
path Path containing JSON files
registry Registry

See Also