summaryrefslogtreecommitdiff
path: root/src/language.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/language.h')
-rw-r--r--src/language.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/language.h b/src/language.h
index 5ba424c66..1b4fb497a 100644
--- a/src/language.h
+++ b/src/language.h
@@ -13,6 +13,9 @@
#define LANGUAGE_H
#include "core/smallvec_type.hpp"
+#ifdef WITH_ICU
+#include <unicode/coll.h>
+#endif /* WITH_ICU */
static const uint8 CASE_GENDER_LEN = 16; ///< The (maximum) length of a case/gender string.
static const uint8 MAX_NUM_GENDERS = 8; ///< Maximum number of supported genders.
@@ -102,6 +105,10 @@ extern LanguageList _languages;
/** The currently loaded language. */
extern const LanguageMetadata *_current_language;
+#ifdef WITH_ICU
+extern Collator *_current_collator;
+#endif /* WITH_ICU */
+
bool ReadLanguagePack(const LanguageMetadata *lang);
const LanguageMetadata *GetLanguage(byte newgrflangid);