Skip to content

Installing

Polyglossa is one library with four readers of the same data. Each holds a copy of the catalog, so none of them reaches the network.

From Maven Central, for Kotlin Multiplatform or the JVM:

dependencies {
    implementation("com.fenakhay.polyglossa:polyglossa:2026.11.6")
}

It runs on the JVM (21 and up), JavaScript in Node and browsers, and natively on macOS (Apple Silicon), Linux (x64) and Windows (x64).

A native Swift package, for macOS 12, iOS 15, tvOS 15, watchOS 8 and Linux, with Swift 5.9 or later:

.package(url: "https://github.com/fenakhay/polyglossa", from: "2026.11.6")

and "Polyglossa" among the target's dependencies.

From PyPI, for Python 3.11 and up, with nothing but the standard library:

pip install polyglossa==2026.11.6

Each release on GitHub has the catalog as polyglossa.sql, plain SQL that SQLite, PostgreSQL and MySQL read, and as catalog.tsv:

gh release download 2026.11.6 --repo fenakhay/polyglossa --pattern polyglossa.sql
sqlite3 polyglossa.sqlite < polyglossa.sql

SQL has the tables.

Versions

A version is the day the data was exported from Wiktionary, year.month.day: 2026.11.6 holds Wiktionary's languages as they were that day, and the catalog says so at run time:

Catalog.BUNDLED.date   // "2026-11-06"
Catalog.bundled.date   // "2026-11-06"
Catalog.bundled().date   # '2026-11-06'

A release comes when Wiktionary's data changes, at most once a day, or by hand for a change to the code. The API changes only through deprecation, so taking the newest version is always safe: see The data and releases.