Release 3.0.1 Michalˇcihar
Total Page:16
File Type:pdf, Size:1020Kb
Weblate Documentation Release 3.0.1 Michal Cihaˇ rˇ Jun 10, 2018 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........................................ 11 2.4 Downloading and uploading translations................................ 19 2.5 Checks and fixups............................................ 20 3 Application developer guide 27 3.1 Starting with internationalization.................................... 27 3.2 Managing translations.......................................... 32 3.3 Reviewing source strings......................................... 32 3.4 Promoting the translation........................................ 36 3.5 Translation progress reporting...................................... 37 4 Administrators guide 39 4.1 Quick setup guide............................................ 39 4.2 Installation instructions......................................... 40 4.3 Weblate deployments........................................... 62 4.4 Upgrading Weblate............................................ 74 4.5 Authentication.............................................. 85 4.6 Access control.............................................. 91 4.7 Translation projects........................................... 97 4.8 Language definitions........................................... 108 4.9 Continuous translation.......................................... 109 4.10 Licensing translations.......................................... 115 4.11 Translation process............................................ 116 4.12 Checks and fixups............................................ 122 4.13 Machine translation........................................... 126 4.14 Addons.................................................. 131 4.15 Translation Memory........................................... 138 4.16 Configuration............................................... 138 i 4.17 Sample configuration........................................... 152 4.18 Management commands......................................... 165 4.19 Whiteboard messages.......................................... 176 4.20 Component Lists............................................. 177 4.21 Optional Weblate modules........................................ 178 5 Translation workflows 183 5.1 Translation access............................................ 183 5.2 Translation states............................................. 183 5.3 Direct translation............................................. 184 5.4 Peer review................................................ 184 5.5 Dedicated reviewers........................................... 184 5.6 Enabling reviews............................................. 185 6 Frequently Asked Questions 187 6.1 Configuration............................................... 187 6.2 Usage................................................... 190 6.3 Troubleshooting............................................. 192 6.4 Features.................................................. 193 7 Supported formats 195 7.1 Bilingual and monolignual formats................................... 195 7.2 Automatic detection........................................... 195 7.3 GNU Gettext............................................... 196 7.4 XLIFF.................................................. 197 7.5 Java properties.............................................. 198 7.6 Joomla translations............................................ 198 7.7 Qt Linguist .ts.............................................. 198 7.8 Android string resources......................................... 199 7.9 Apple OS X strings............................................ 200 7.10 PHP strings................................................ 200 7.11 JSON files................................................ 200 7.12 WebExtension JSON........................................... 201 7.13 .Net Resource files............................................ 202 7.14 CSV files................................................. 202 7.15 YAML files................................................ 203 7.16 DTD files................................................. 204 7.17 Windows RC files............................................ 204 7.18 Others.................................................. 205 7.19 Adding new translations......................................... 205 8 Version control integration 207 8.1 Accessing repositories.......................................... 207 8.2 Git.................................................... 209 8.3 GitHub.................................................. 210 8.4 Mercurial................................................. 211 8.5 Subversion................................................ 211 9 Weblate’s Web API 213 9.1 REST API................................................ 213 9.2 Notification hooks............................................ 233 9.3 Exports.................................................. 234 9.4 RSS feeds................................................. 235 10 Weblate Client 237 ii 10.1 Installation................................................ 237 10.2 Synopsis................................................. 237 10.3 Description................................................ 237 10.4 Files................................................... 239 10.5 Examples................................................. 240 11 Weblate’s Python API 241 11.1 Instalation................................................ 241 11.2 wlc .................................................... 241 11.3 wlc.config .............................................. 242 11.4 wlc.main ................................................ 242 12 Changes 243 12.1 weblate 3.0.1............................................... 243 12.2 weblate 3.0................................................ 243 12.3 weblate 2.20............................................... 244 12.4 weblate 2.19.1.............................................. 244 12.5 weblate 2.19............................................... 244 12.6 weblate 2.18............................................... 245 12.7 weblate 2.17.1.............................................. 245 12.8 weblate 2.17............................................... 246 12.9 weblate 2.16............................................... 246 12.10 weblate 2.15............................................... 246 12.11 weblate 2.14.1.............................................. 247 12.12 weblate 2.14............................................... 247 12.13 weblate 2.13.1.............................................. 248 12.14 weblate 2.13............................................... 248 12.15 weblate 2.12............................................... 248 12.16 weblate 2.11............................................... 249 12.17 weblate 2.10.1.............................................. 249 12.18 weblate 2.10............................................... 249 12.19 weblate 2.9................................................ 250 12.20 weblate 2.8................................................ 250 12.21 weblate 2.7................................................ 251 12.22 weblate 2.6................................................ 251 12.23 weblate 2.5................................................ 251 12.24 weblate 2.4................................................ 253 12.25 weblate 2.3................................................ 254 12.26 weblate 2.2................................................ 254 12.27 weblate 2.1................................................ 255 12.28 weblate 2.0................................................ 255 12.29 weblate 1.9................................................ 256 12.30 weblate 1.8................................................ 256 12.31 weblate 1.7................................................ 256 12.32 weblate 1.6................................................ 257 12.33 weblate 1.5................................................ 257 12.34 weblate 1.4................................................ 258 12.35 weblate 1.3................................................ 259 12.36 weblate 1.2................................................ 259 12.37 weblate 1.1................................................ 260 12.38 weblate 1.0................................................ 260 12.39 weblate 0.9................................................ 260 12.40 weblate 0.8................................................ 261 12.41 weblate 0.7................................................ 261 iii 12.42 weblate 0.6................................................ 262 12.43 weblate 0.5................................................ 262 12.44 weblate 0.4................................................ 262 12.45 weblate 0.3................................................ 262 12.46 weblate 0.2................................................ 263 12.47 weblate 0.1................................................ 263 13 Contributing 265 13.1 Code and development.......................................... 265 13.2 Coding standard............................................. 265 13.3 Developer’s Certificate of Origin...................................