Weblate-4.1.1
Total Page:16
File Type:pdf, Size:1020Kb
The Weblate Manual Release 4.1.1 Michal Čihař Jun 19, 2020 USER DOCS 1 User docs 1 1.1 Weblate basics ............................................ 1 1.2 Registration and user profile ..................................... 1 1.3 Translating using Weblate ...................................... 9 1.4 Downloading and uploading translations ............................... 19 1.5 Checks and fixups .......................................... 21 1.6 Searching ............................................... 36 1.7 Application developer guide ..................................... 40 1.8 Translation workflows ......................................... 58 1.9 Frequently Asked Questions ..................................... 61 1.10 Supported file formats ........................................ 68 1.11 Version control integration ...................................... 87 1.12 Weblate’s Web API .......................................... 94 1.13 Weblate Client ............................................ 131 1.14 Weblate’s Python API ........................................ 134 2 Administrator docs 137 2.1 Configuration instructions ....................................... 137 2.2 Weblate deployments ......................................... 186 2.3 Upgrading Weblate .......................................... 187 2.4 Backing up and moving Weblate ................................... 194 2.5 Authentication ............................................ 199 2.6 Access control ............................................ 207 2.7 Translation projects .......................................... 214 2.8 Language definitions ......................................... 228 2.9 Continuous localization ........................................ 230 2.10 Licensing translations ......................................... 239 2.11 Translation process .......................................... 241 2.12 Checks and fixups .......................................... 247 2.13 Machine translation .......................................... 255 2.14 Addons ................................................ 261 2.15 Translation Memory ......................................... 270 2.16 Configuration ............................................. 271 2.17 Sample configuration ......................................... 292 2.18 Management commands ....................................... 307 2.19 Announcements ............................................ 318 2.20 Component Lists ........................................... 320 2.21 Optional Weblate modules ...................................... 321 2.22 Customizing Weblate ......................................... 326 2.23 Management interface ........................................ 328 2.24 Getting support for Weblate ..................................... 335 2.25 Legal documents ........................................... 336 3 Contributor docs 338 i 3.1 Contributing to Weblate ....................................... 338 3.2 Starting contributing code to Weblate ................................ 339 3.3 Weblate source code ......................................... 343 3.4 Debugging Weblate .......................................... 344 3.5 Weblate internals ........................................... 344 3.6 Weblate frontend ........................................... 346 3.7 Reporting issues in Weblate ..................................... 347 3.8 Weblate testsuite and continuous integration ............................. 347 3.9 Data schemas ............................................. 349 3.10 Releasing Weblate .......................................... 350 3.11 About Weblate ............................................ 350 3.12 License ................................................ 351 4 Change History 352 4.1 Weblate 4.1.1 ............................................. 352 4.2 Weblate 4.1 .............................................. 352 4.3 Weblate 4.0.4 ............................................. 353 4.4 Weblate 4.0.3 ............................................. 354 4.5 Weblate 4.0.2 ............................................. 354 4.6 Weblate 4.0.1 ............................................. 354 4.7 Weblate 4.0 .............................................. 355 4.8 Weblate 3.11.3 ............................................ 355 4.9 Weblate 3.11.2 ............................................ 356 4.10 Weblate 3.11.1 ............................................ 356 4.11 Weblate 3.11 ............................................. 356 4.12 Weblate 3.10.3 ............................................ 357 4.13 Weblate 3.10.2 ............................................ 357 4.14 Weblate 3.10.1 ............................................ 358 4.15 Weblate 3.10 ............................................. 358 4.16 Weblate 3.9.1 ............................................. 359 4.17 Weblate 3.9 .............................................. 359 4.18 Weblate 3.8 .............................................. 360 4.19 Weblate 3.7.1 ............................................. 361 4.20 Weblate 3.7 .............................................. 361 4.21 Weblate 3.6.1 ............................................. 362 4.22 Weblate 3.6 .............................................. 362 4.23 Weblate 3.5.1 ............................................. 363 4.24 Weblate 3.5 .............................................. 363 4.25 Weblate 3.4 .............................................. 364 4.26 Weblate 3.3 .............................................. 364 4.27 Weblate 3.2.2 ............................................. 364 4.28 Weblate 3.2.1 ............................................. 365 4.29 Weblate 3.2 .............................................. 365 4.30 Weblate 3.1.1 ............................................. 366 4.31 Weblate 3.1 .............................................. 366 4.32 Weblate 3.0.1 ............................................. 366 4.33 Weblate 3.0 .............................................. 367 4.34 Weblate 2.x series .......................................... 367 4.35 Weblate 1.x series .......................................... 378 4.36 Weblate 0.x series .......................................... 382 Python Module Index 386 HTTP Routing Table 387 Index 389 ii CHAPTER ONE USER DOCS 1.1 Weblate basics 1.1.1 Project structure In Weblate translations are organized into projects and components. Each project can contain number of components and those contain translations into individual languages. The component corresponds to one translatable file (for example GNU gettext or Android string resources). The projects are there to help you organize component into logical sets (for example to group all translations used within one application). Internally, each project has translations to common strings propagated across other components within it by default. This lightens the burden of repetitive and multi version translation. Disable it as per Component configuration, still producing errors for seemingly inconsistent resulting translations. 1.2 Registration and user profile 1.2.1 Registration Everybody can browse projects, view translations or suggest translations by default. Only registered users are allowed to actually save changes, and are credited for every translation made. You can register by following a few simple steps: 1. Fill out the registration form with your credentials. 2. Activate registration by following the link in the e-mail you receive. 3. Optionally adjust your profile to choose which languages you know. 1.2.2 Dashboard When you sign in, you will see an overview of projects and components, as well as their respective translation pro- gression. New in version 2.5. Components of projects you are watching are shown by default, and cross-referenced with your preferred languages. Hint: You can switch to different views using the navigation tabs. 1 The Weblate Manual, Release 4.1.1 The menu has these options: • Projects > Browse all projects in the main menu showing translation status for each project on the Weblate instance. • Selecting a language in the main menu Languages will show translation status of all projects, filtered by one of your primary languages. • Watched translations in the Dashboard will show translation status of only those projects you are watching, filtered by your primary languages. In addition, the drop-down can also show any number of component lists, sets of project components preconfigured by the Weblate administrator, see Component Lists. You can configure your personal default dashboard view in the Preferences section of your user profile settings. Note: When Weblate is configured for a single project using SINGLE_PROJECT in the settings.py file (see Configuration), the dashboard will not be shown, as the user will be redirected to a single project or component instead. 2 Chapter 1. User docs The Weblate Manual, Release 4.1.1 1.2.3 User profile The user profile is accessible by clicking your user icon in the top-right of the top menu, then the Settings menu. The user profile contains your preferences. Name and e-mail address is used in VCS commits, so keep this info accurate. Note: All language selections only offer currently translated languages. Hint: Request or add other languages you want to translate by clicking the button to make them available too. Translated languages Choose which languages you prefer to translate, and they will be offered on the main page of watched projects, so that you have easier access to these all translations in each of those languages. 1.2. Registration and