Languages are defined by their ISO 639-1 code, which is a two letters.
It is possible, that some languages with only a three letter code, ie.
a ISO 639-2 code, could be added in the future.
bool textcat_failed;
};
+/* ISO 639-1 alpha 2 codes for languages */
const struct fts_language fts_languages[] = {
- { "da" },
- { "de" },
- { "en" },
- { "es" },
- { "fi" },
- { "fr" },
- { "it" },
- { "nl" },
- { "pt" },
- { "ro" },
- { "ru" },
- { "sv" }
+ { "da" }, /* Danish */
+ { "de" }, /* German */
+ { "en" }, /* English */
+ { "es" }, /* Spanish */
+ { "fi" }, /* Finnish */
+ { "fr" }, /* French */
+ { "it" }, /* Italian */
+ { "nl" }, /* Dutch */
+ { "pt" }, /* Portuguese */
+ { "ro" }, /* Romanian */
+ { "ru" }, /* Russian */
+ { "sv" } /* Swedish */
};
const struct fts_language fts_language_data = {