Internals

Note

This chapter will give you basic overview of Weblate internals.

Weblate is based on Django and most of it’s 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.

api

API based on Django REST framework.

billing

The optional Billing module.

gitexport

The optional Git exporter module.

lang

Module defining language parameters.

legal

The optional Legal module.

permissions

The Group-based access control code with various helpers.

screenshots

Screenshots management and OCR module.

trans

Main module handling translations.

utils

Various helper utilities.