C# Class GettextLib.GettextFactory

Inheritance: GettextFactoryBase
Afficher le fichier Open project: while-true/gettext

Méthodes publiques

Méthode Description
AddTranslation ( string languageId, Stream poFileContent, CultureInfo culture = null ) : void

Adds translations to the factory.

GetContext ( string langId ) : GettextTranslationContext
GettextFactory ( ) : System

Method Details

AddTranslation() public méthode

Adds translations to the factory.
public AddTranslation ( string languageId, Stream poFileContent, CultureInfo culture = null ) : void
languageId string
poFileContent Stream
culture System.Globalization.CultureInfo Culture to use for this translations. If it isn't specified, use the invariant culture.
Résultat void

GetContext() public méthode

public GetContext ( string langId ) : GettextTranslationContext
langId string
Résultat GettextTranslationContext

GettextFactory() public méthode

public GettextFactory ( ) : System
Résultat System