return getZYpp()->architecture();
}
+ ///////////////////////////////////////////////////////////////////
+ //
+ // METHOD NAME : ZConfig::defaultTextLocale
+ // METHOD TYPE : Locale
+ //
+ Locale ZConfig::defaultTextLocale() const
+ {
+ return getZYpp()->getTextLocale();
+ }
+
/////////////////////////////////////////////////////////////////
} // namespace zypp
///////////////////////////////////////////////////////////////////
#include <iosfwd>
#include "zypp/Arch.h"
+#include "zypp/Locale.h"
#include "zypp/Pathname.h"
///////////////////////////////////////////////////////////////////
public:
/** The system architecture. */
Arch systemArchitecture() const;
+
+ /** The prefered locale for translated labels, descriptions,
+ * descriptions, etc. passed to the UI.
+ */
+ Locale defaultTextLocale() const;
};
///////////////////////////////////////////////////////////////////