ILocalizer

Ecng.Localization

The interface for localizing strings.

メソッド

Localize
public string Localize(string enStr)
result = iLocalizer.Localize(enStr)

Localizes the string.

enStr
The string to localize in English.

戻り値: The localized string.

LocalizeByKey
public string LocalizeByKey(string key)
result = iLocalizer.LocalizeByKey(key)

Localizes the string.

key
The key of the string to localize.

戻り値: The localized string.