Kimono.KLocale.KLocale C# (CSharp) Method

KLocale() public method

Constructs a KLocale with the given catalog name. The constructor looks for an entry Locale/Language in the configuration file. If no config file is specified, it will also look for languages using the environment variables (KDE_LANG, LC_MESSAGES, LC_ALL, LANG), as well as the global configuration file. If KLocale is not able to use any of the specified languages, the default language (en_US) will be used. If you specify a configuration file, it has to be valid until the KLocale object is destroyed. name="catalog" The name of the main language file name="config" The configuration file to use.
public KLocale ( string catalog, Kimono.KSharedConfig config ) : System
catalog string
config Kimono.KSharedConfig
return System
        public KLocale(string catalog, KSharedConfig config)
            : this((Type) null)
        {
            CreateProxy();
            interceptor.Invoke("KLocale$?", "KLocale(const QString&, KSharedPtr<KSharedConfig>)", typeof(void), typeof(string), catalog, typeof(KSharedConfig), config);
        }

Same methods

KLocale::KLocale ( ) : System
KLocale::KLocale ( KLocale rhs ) : System
KLocale::KLocale ( Type dummy ) : System
KLocale::KLocale ( string catalog ) : System
KLocale::KLocale ( string catalog, string language ) : System
KLocale::KLocale ( string catalog, string language, string country ) : System
KLocale::KLocale ( string catalog, string language, string country, Kimono.KConfig config ) : System