Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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 | |
Résultat | string |
protected GetFileName ( string localeDir, string domain, string locale ) : string | ||
localeDir | string | |
domain | string | |
locale | string | |
Résultat | string |
public Load ( Catalog catalog ) : void | ||
catalog | Catalog | A catalog instance to load translations to. |
Résultat | void |
protected Load ( |
||
parsedMoFile | ||
catalog | Catalog | |
Résultat | void |
protected Load ( Stream moStream, Catalog catalog ) : void | ||
moStream | Stream | |
catalog | Catalog | |
Résultat | void |
protected Load ( string filePath, Catalog catalog ) : void | ||
filePath | string | |
catalog | Catalog | |
Résultat | void |
protected Load ( string domain, string localeDir, Catalog catalog ) : void | ||
domain | string | |
localeDir | string | |
catalog | Catalog | |
Résultat | void |
public MoLoader ( Stream moStream ) : System | ||
moStream | Stream | |
Résultat | System |
public MoLoader ( Stream moStream, IPluralRuleGenerator pluralRuleGenerator ) : System | ||
moStream | Stream | |
pluralRuleGenerator | IPluralRuleGenerator | |
Résultat | System |
public MoLoader ( Stream moStream, IPluralRuleGenerator pluralRuleGenerator, |
||
moStream | Stream | |
pluralRuleGenerator | IPluralRuleGenerator | |
parser | ||
Résultat | System |
public MoLoader ( Stream moStream, |
||
moStream | Stream | |
parser | ||
Résultat | System |
public MoLoader ( string filePath ) : System | ||
filePath | string | |
Résultat | System |
public MoLoader ( string filePath, IPluralRuleGenerator pluralRuleGenerator ) : System | ||
filePath | string | |
pluralRuleGenerator | IPluralRuleGenerator | |
Résultat | System |
public MoLoader ( string filePath, IPluralRuleGenerator pluralRuleGenerator, |
||
filePath | string | |
pluralRuleGenerator | IPluralRuleGenerator | |
parser | ||
Résultat | System |
public MoLoader ( string filePath, |
||
filePath | string | |
parser | ||
Résultat | System |
public MoLoader ( string domain, string localeDir ) : System | ||
domain | string | |
localeDir | string | |
Résultat | System |
public MoLoader ( string domain, string localeDir, IPluralRuleGenerator pluralRuleGenerator ) : System | ||
domain | string | |
localeDir | string | |
pluralRuleGenerator | IPluralRuleGenerator | |
Résultat | System |
public MoLoader ( string domain, string localeDir, IPluralRuleGenerator pluralRuleGenerator, |
||
domain | string | |
localeDir | string | |
pluralRuleGenerator | IPluralRuleGenerator | |
parser | ||
Résultat | System |
public MoLoader ( string domain, string localeDir, |
||
domain | string | |
localeDir | string | |
parser | ||
Résultat | System |