1 Configure Weblate
Lukas Schreiner edited this page 6 months ago

Configure weblate

Add new project

Screenshot_New_Project

Add main component

After creating project, there is no component. Add main component - click on the button Add new translation component:

Screenshot_Add_Component

Base configuration

  • Component name
  • URL slug (automatic determined - should fit)
  • Source language: German
  • Version control system: git
  • Source code repository: to weblate repository containing oauth username + token as basic authentication. This token should have write permission.
  • Repository branch: main

Screenshot_Component_Base

Afterwards, click on Continue.

File pattern

On next page, select the file pattern for the right component (here main).

Screenshot_Component_Name_Schema

Click on Continue.

Extended

Configure as shown:

Screenshot_Configure_Main_Component

If done, click on save.

Next steps

Wait until, configuration is done.

Screenshot_Main_Component_Updating

Screenshot_Main_Component_Done

Follow further links or click on Return to the component.

Add further components

Click on the right button Add new translation component while being in the lerntools project.

Screenshot_Add_further_component

Basic configuration

Mostly its like add the initial main component with some slight differences.

Screenshot_Add_abcd_component

Very important is the "Source code repository". Its now weblate://lerntools/main as the complete configuration of the main component is used.

Screenshot_Abcd_component_schema

Screenshot_Configure_abcd_component

Screenshot_abcd_component_done.png