Show / Hide Table of Contents

Class AbpInternalLocalizationHelper

This class is designed to be used internal by the framework.

Inheritance
System.Object
AbpInternalLocalizationHelper
Namespace: Volo.Abp.Localization
Assembly: Volo.Abp.Localization.dll
Syntax
public static class AbpInternalLocalizationHelper : object

Methods

LocalizeWithFallback(IStringLocalizer[], String[], String)

Searches an array of keys in an array of localizers.

Declaration
public static string LocalizeWithFallback(IStringLocalizer[] localizers, string[] keys, string defaultValue)
Parameters
Type Name Description
IStringLocalizer[] localizers

An array of localizers. Search the keys on the localizers. Can contain null items in the array.

System.String[] keys

An array of keys. Search the keys on the localizers. Should not contain null items in the array.

System.String defaultValue

Return value if none of the localizers has none of the keys.

Returns
Type Description
System.String
Back to top Powered by Volosoft