Метод | Описание | |
---|---|---|
Load ( Catalog catalog ) : void |
Loads translations to the specified catalog using catalog's culture info.
|
|
MoLoader ( Stream moStream ) : System |
Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream.
|
|
MoLoader ( Stream moStream, IPluralRuleGenerator pluralRuleGenerator ) : System |
Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream.
|
|
MoLoader ( Stream moStream, IPluralRuleGenerator pluralRuleGenerator, |
Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream.
|
|
MoLoader ( Stream moStream, |
Initializes a new instance of the MoLoader class which will try to load a MO file from the specified stream.
|
|
MoLoader ( string filePath ) : System |
Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path.
|
|
MoLoader ( string filePath, IPluralRuleGenerator pluralRuleGenerator ) : System |
Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path.
|
|
MoLoader ( string filePath, IPluralRuleGenerator pluralRuleGenerator, |
Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path.
|
|
MoLoader ( string filePath, |
Initializes a new instance of the MoLoader class which will try to load a MO file from the specified path.
|
|
MoLoader ( string domain, string localeDir ) : System |
Initializes a new instance of the MoLoader class which will try to load a MO file that will be located in the localeDir using the domain name and catalog's culture info.
|
|
MoLoader ( string domain, string localeDir, IPluralRuleGenerator pluralRuleGenerator ) : System |
Initializes a new instance of the MoLoader class which will try to load a MO file that will be located in the localeDir using the domain name and catalog's culture info.
|
|
MoLoader ( string domain, string localeDir, IPluralRuleGenerator pluralRuleGenerator, |
Initializes a new instance of the MoLoader class which will try to load a MO file that will be located in the localeDir using the domain name and catalog's culture info.
|
|
MoLoader ( string domain, string localeDir, |
Initializes a new instance of the MoLoader class which will try to load a MO file that will be located in the localeDir using the domain name and catalog's culture info.
|
Метод | Описание | |
---|---|---|
FindTranslationFile ( |
Finds corresponding translation file using specified culture info, domain and a locale directory.
|
|
GetFileName ( string localeDir, string domain, string locale ) : string |
Constructs a standard path to the MO translation file using specified path to the locale directory, domain and locale's TwoLetterISOLanguageName string.
|
|
Load ( |
Loads translations to the specified catalog using specified MO file parser.
|
|
Load ( Stream moStream, Catalog catalog ) : void |
Loads translations to the specified catalog from specified MO file stream.
|
|
Load ( string filePath, Catalog catalog ) : void |
Loads translations to the specified catalog from specified MO file path.
|
|
Load ( string domain, string localeDir, Catalog catalog ) : void |
Loads translations to the specified catalog using catalog's culture info from specified locale directory and specified domain.
|
protected FindTranslationFile ( |
||
cultureInfo | ||
domain | string | |
localeDir | string | |
Результат | string |
protected GetFileName ( string localeDir, string domain, string locale ) : string | ||
localeDir | string | |
domain | string | |
locale | string | |
Результат | string |
public Load ( Catalog catalog ) : void | ||
catalog | Catalog | A catalog instance to load translations to. |
Результат | void |
protected Load ( |
||
parsedMoFile | ||
catalog | Catalog | |
Результат | void |
protected Load ( Stream moStream, Catalog catalog ) : void | ||
moStream | Stream | |
catalog | Catalog | |
Результат | void |
protected Load ( string filePath, Catalog catalog ) : void | ||
filePath | string | |
catalog | Catalog | |
Результат | void |
protected Load ( string domain, string localeDir, Catalog catalog ) : void | ||
domain | string | |
localeDir | string | |
catalog | Catalog | |
Результат | void |
public MoLoader ( Stream moStream ) : System | ||
moStream | Stream | |
Результат | System |
public MoLoader ( Stream moStream, IPluralRuleGenerator pluralRuleGenerator ) : System | ||
moStream | Stream | |
pluralRuleGenerator | IPluralRuleGenerator | |
Результат | System |
public MoLoader ( Stream moStream, IPluralRuleGenerator pluralRuleGenerator, |
||
moStream | Stream | |
pluralRuleGenerator | IPluralRuleGenerator | |
parser | ||
Результат | System |
public MoLoader ( Stream moStream, |
||
moStream | Stream | |
parser | ||
Результат | System |
public MoLoader ( string filePath ) : System | ||
filePath | string | |
Результат | System |
public MoLoader ( string filePath, IPluralRuleGenerator pluralRuleGenerator ) : System | ||
filePath | string | |
pluralRuleGenerator | IPluralRuleGenerator | |
Результат | System |
public MoLoader ( string filePath, IPluralRuleGenerator pluralRuleGenerator, |
||
filePath | string | |
pluralRuleGenerator | IPluralRuleGenerator | |
parser | ||
Результат | System |
public MoLoader ( string filePath, |
||
filePath | string | |
parser | ||
Результат | System |
public MoLoader ( string domain, string localeDir ) : System | ||
domain | string | |
localeDir | string | |
Результат | System |
public MoLoader ( string domain, string localeDir, IPluralRuleGenerator pluralRuleGenerator ) : System | ||
domain | string | |
localeDir | string | |
pluralRuleGenerator | IPluralRuleGenerator | |
Результат | System |
public MoLoader ( string domain, string localeDir, IPluralRuleGenerator pluralRuleGenerator, |
||
domain | string | |
localeDir | string | |
pluralRuleGenerator | IPluralRuleGenerator | |
parser | ||
Результат | System |
public MoLoader ( string domain, string localeDir, |
||
domain | string | |
localeDir | string | |
parser | ||
Результат | System |