Release 3.4 Michalˇcihar
Total Page:16
File Type:pdf, Size:1020Kb
Weblate Documentation Release 3.4 Michal Cihaˇ rˇ Jan 22, 2019 Contents 1 About Weblate 3 1.1 Project goals...............................................3 1.2 Project name...............................................3 1.3 Project website..............................................3 1.4 Authors..................................................3 2 Translators guide 5 2.1 Weblate basics..............................................5 2.2 Registration and user profile.......................................5 2.3 Translating using Weblate........................................ 10 2.4 Downloading and uploading translations................................ 18 2.5 Checks and fixups............................................ 20 3 Application developer guide 29 3.1 Starting with internationalization.................................... 29 3.2 Translation component alerts....................................... 34 3.3 Managing translations.......................................... 35 3.4 Reviewing source strings......................................... 35 3.5 Promoting the translation........................................ 39 3.6 Translation progress reporting...................................... 41 4 Administrators guide 43 4.1 Quick setup guide............................................ 43 4.2 Installation instructions......................................... 46 4.3 Weblate deployments........................................... 72 4.4 Upgrading Weblate............................................ 84 4.5 Backing up and moving Weblate..................................... 87 4.6 Authentication.............................................. 89 4.7 Access control.............................................. 95 4.8 Translation projects........................................... 103 4.9 Language definitions........................................... 113 4.10 Continuous translation.......................................... 113 4.11 Licensing translations.......................................... 120 4.12 Translation process............................................ 122 4.13 Checks and fixups............................................ 128 4.14 Machine translation........................................... 133 4.15 Addons.................................................. 138 i 4.16 Translation Memory........................................... 145 4.17 Configuration............................................... 147 4.18 Sample configuration........................................... 162 4.19 Management commands......................................... 177 4.20 Whiteboard messages.......................................... 189 4.21 Component Lists............................................. 190 4.22 Optional Weblate modules........................................ 191 4.23 Customizing Weblate........................................... 196 4.24 Django admin interface......................................... 197 5 Translation workflows 205 5.1 Translation access............................................ 205 5.2 Translation states............................................. 205 5.3 Direct translation............................................. 206 5.4 Peer review................................................ 206 5.5 Dedicated reviewers........................................... 206 5.6 Enabling reviews............................................. 207 6 Frequently Asked Questions 209 6.1 Configuration............................................... 209 6.2 Usage................................................... 213 6.3 Troubleshooting............................................. 214 6.4 Features.................................................. 216 7 Supported formats 217 7.1 Bilingual and monolingual formats................................... 217 7.2 Automatic detection........................................... 217 7.3 Translation types capabilities...................................... 218 7.4 GNU Gettext............................................... 218 7.5 XLIFF.................................................. 220 7.6 Java properties.............................................. 221 7.7 Joomla translations............................................ 221 7.8 Qt Linguist .ts.............................................. 221 7.9 Android string resources......................................... 222 7.10 Apple OS X strings............................................ 223 7.11 PHP strings................................................ 223 7.12 JSON files................................................ 224 7.13 JSON i18next files............................................ 224 7.14 WebExtension JSON........................................... 225 7.15 .Net Resource files............................................ 226 7.16 CSV files................................................. 226 7.17 YAML files................................................ 226 7.18 DTD files................................................. 227 7.19 Windows RC files............................................ 228 7.20 Excel Open XML............................................ 228 7.21 Others.................................................. 228 7.22 Adding new translations......................................... 229 8 Version control integration 231 8.1 Accessing repositories.......................................... 231 8.2 Git.................................................... 234 8.3 GitHub.................................................. 234 8.4 Gerrit................................................... 235 8.5 Mercurial................................................. 235 8.6 Subversion................................................ 235 ii 9 Weblate’s Web API 237 9.1 REST API................................................ 237 9.2 Notification hooks............................................ 257 9.3 Exports.................................................. 258 9.4 RSS feeds................................................. 259 10 Weblate Client 261 10.1 Installation................................................ 261 10.2 Synopsis................................................. 261 10.3 Description................................................ 261 10.4 Files................................................... 263 10.5 Examples................................................. 264 11 Weblate’s Python API 267 11.1 Installation................................................ 267 11.2 wlc .................................................... 267 11.3 wlc.config .............................................. 268 11.4 wlc.main ................................................ 268 12 Changes 269 12.1 weblate 3.4................................................ 269 12.2 weblate 3.3................................................ 269 12.3 weblate 3.2.2............................................... 270 12.4 weblate 3.2.1............................................... 270 12.5 weblate 3.2................................................ 270 12.6 weblate 3.1.1............................................... 271 12.7 weblate 3.1................................................ 271 12.8 weblate 3.0.1............................................... 272 12.9 weblate 3.0................................................ 272 12.10 weblate 2.20............................................... 272 12.11 weblate 2.19.1.............................................. 273 12.12 weblate 2.19............................................... 273 12.13 weblate 2.18............................................... 274 12.14 weblate 2.17.1.............................................. 274 12.15 weblate 2.17............................................... 274 12.16 weblate 2.16............................................... 275 12.17 weblate 2.15............................................... 275 12.18 weblate 2.14.1.............................................. 275 12.19 weblate 2.14............................................... 276 12.20 weblate 2.13.1.............................................. 276 12.21 weblate 2.13............................................... 277 12.22 weblate 2.12............................................... 277 12.23 weblate 2.11............................................... 277 12.24 weblate 2.10.1.............................................. 278 12.25 weblate 2.10............................................... 278 12.26 weblate 2.9................................................ 279 12.27 weblate 2.8................................................ 279 12.28 weblate 2.7................................................ 280 12.29 weblate 2.6................................................ 280 12.30 weblate 2.5................................................ 280 12.31 weblate 2.4................................................ 282 12.32 weblate 2.3................................................ 283 12.33 weblate 2.2................................................ 283 12.34 weblate 2.1................................................ 284 iii 12.35 weblate 2.0................................................ 284 12.36 weblate 1.9................................................ 285 12.37 weblate 1.8................................................ 285 12.38 weblate 1.7................................................ 285 12.39 weblate 1.6................................................ 286 12.40 weblate 1.5................................................ 286 12.41 weblate 1.4................................................ 287 12.42 weblate 1.3...............................................