Skip to content

SQLModel-translation

SQLModel-Translation is a Python library for adding translation support to SQLModel and FastAPI applications. This library was heavily inspired by django-modeltranslation

Features

  • Apply translations without modifying existing SQLModel classes.
  • Write SQLModel queries without having to worry about the language.
  • Automatically translate requests based on Accept-Language HTTP header.
  • Fully compatible with Pydantic validation.

See quickstart, reference and concepts for more details.