- Language() : rightToLeft_(false) {}
+ Language() : rightToLeft_(false), encoding_(0), internal_enc_(false),
+ as_babel_options_(false), has_gui_support_(false) {}
/// Is this language only supported by polyglossia?
bool isPolyglossiaExclusive() const;
/// quotation marks style
/// Is this language only supported by polyglossia?
bool isPolyglossiaExclusive() const;
/// quotation marks style
/// This language internally sets a font encoding
bool internalFontEncoding() const { return internal_enc_; }
/// This language internally sets a font encoding
bool internalFontEncoding() const { return internal_enc_; }
/// This language needs to be passed to babel itself (not the class)
bool asBabelOptions() const { return as_babel_options_; }
/// This language needs to be passed to babel itself (not the class)
bool asBabelOptions() const { return as_babel_options_; }
///
void readLayoutTranslations(TranslationMap const & trans, bool replace);
// for the use in std::map
friend bool operator<(Language const & p, Language const & q);
private:
///
///
void readLayoutTranslations(TranslationMap const & trans, bool replace);
// for the use in std::map
friend bool operator<(Language const & p, Language const & q);
private:
///
const_iterator begin() const { return languagelist.begin(); }
///
const_iterator end() const { return languagelist.end(); }
const_iterator begin() const { return languagelist.begin(); }
///
const_iterator end() const { return languagelist.end(); }