Internals

Note

This chapter will give you basic overview of Weblate internals.

Weblate is derives most of its code structure from, and is based on Django. Familiarize yourself with Django at a glance to get a basic understanding of its file structure.

Modules

Weblate consists of several Django applications (some optional, see Optional Weblate modules):

accounts

User account, profiles and notifications.

addons

Addons to tweak Weblate behavior, see Addons.

api

API based on Django REST framework.

auth

Authentication and permissions.

billing

The optional Billing module.

formats

File format abstraction layer based on translate-toolkit.

gitexport

The optional Git exporter module.

lang

Module defining language and plural models.

langdata

Language data definitions.

legal

The optional Legal module.

machinery

Integration of machine translation services.

memory

Built in translation memory, see Translation Memory.

permissions

Obsolete.

screenshots

Screenshots management and OCR module.

trans

Main module handling translations.

utils

Various helper utilities.

vcs

Version control system abstraction.

wladmin

Django admin interface customization.