Internals

Note

This chapter will give you basic overview of Weblate internals.

Weblate is based on Django and most of its code structure comes from that. If you are not familiar with Django, you might want to check Django at a glance to get basic understanding of files structure.

Modules

Weblate consists of several Django applications (some of them are 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 formats 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`

Machine translation services integration.

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.