- typedef std::map<std::string, docstring> TranslationCache;
- /// Internal cache for gettext translated strings.
- /// This is needed for performance reason within \c updateBuffer()
- /// under Windows.
- mutable TranslationCache cache_;
+ typedef std::map<std::string, docstring> TranslationMap;
+ TranslationMap trans_map_;
+ /// The language used by the Gui
+ static std::string gui_lang_;