Release 2.18 Michalˇcihar
Total Page:16
File Type:pdf, Size:1020Kb
Weblate Documentation Release 2.18 Michal Cihaˇ rˇ Dec 15, 2017 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................................ 18 2.5 Checks and fixups............................................ 20 3 Application developer guide 25 3.1 Starting with internationalization.................................... 25 3.2 Managing translations.......................................... 29 3.3 Reviewing source strings......................................... 29 3.4 Promoting the translation........................................ 33 3.5 Translation progress reporting...................................... 34 4 Administrators guide 37 4.1 Quick setup guide............................................ 37 4.2 Installation instructions......................................... 38 4.3 Weblate deployments........................................... 59 4.4 Upgrading Weblate............................................ 71 4.5 Authentication.............................................. 80 4.6 Access control.............................................. 85 4.7 Translation projects........................................... 90 4.8 Language definitions........................................... 102 4.9 Continuous translation.......................................... 103 4.10 Translation process............................................ 110 4.11 Checks and fixups............................................ 117 4.12 Machine translation........................................... 122 4.13 Configuration............................................... 125 4.14 Sample configuration........................................... 139 4.15 Management commands......................................... 152 4.16 Whiteboard messages.......................................... 161 i 4.17 Advertisement.............................................. 162 4.18 Component Lists............................................. 163 4.19 Optional Weblate modules........................................ 163 5 Translation workflows 167 5.1 Translation access............................................ 167 5.2 Translation states............................................. 167 5.3 Direct translation............................................. 168 5.4 Peer review................................................ 168 5.5 Dedicated reviewers........................................... 168 5.6 Enabling reviews............................................. 169 6 Frequently Asked Questions 171 6.1 Configuration............................................... 171 6.2 Usage................................................... 174 6.3 Troubleshooting............................................. 176 6.4 Features.................................................. 177 7 Supported formats 179 7.1 Automatic detection........................................... 179 7.2 GNU Gettext............................................... 179 7.3 XLIFF.................................................. 181 7.4 Java properties.............................................. 181 7.5 Joomla translations............................................ 181 7.6 Qt Linguist .ts.............................................. 182 7.7 Android string resources......................................... 182 7.8 Apple OS X strings............................................ 183 7.9 PHP strings................................................ 183 7.10 JSON files................................................ 183 7.11 WebExtension JSON........................................... 184 7.12 .Net Resource files............................................ 185 7.13 CSV files................................................. 185 7.14 YAML files................................................ 185 7.15 DTD files................................................. 186 7.16 Others.................................................. 186 7.17 Adding new translations......................................... 186 8 Version control integration 187 8.1 Accessing repositories.......................................... 187 8.2 Git.................................................... 189 8.3 GitHub.................................................. 190 8.4 Mercurial................................................. 191 8.5 Subversion................................................ 191 9 Weblate’s Web API 193 9.1 REST API................................................ 193 9.2 Notification hooks............................................ 213 9.3 Exports.................................................. 214 9.4 RSS feeds................................................. 215 10 Weblate Client 217 10.1 Installation................................................ 217 10.2 Synopsis................................................. 217 10.3 Description................................................ 217 10.4 Files................................................... 219 ii 10.5 Examples................................................. 220 11 Weblate’s Python API 221 11.1 Instalation................................................ 221 11.2 wlc .................................................... 221 11.3 wlc.config .............................................. 222 11.4 wlc.main ................................................ 222 12 Changes 223 12.1 weblate 2.18............................................... 223 12.2 weblate 2.17.1.............................................. 223 12.3 weblate 2.17............................................... 224 12.4 weblate 2.16............................................... 224 12.5 weblate 2.15............................................... 224 12.6 weblate 2.14.1.............................................. 225 12.7 weblate 2.14............................................... 225 12.8 weblate 2.13.1.............................................. 226 12.9 weblate 2.13............................................... 226 12.10 weblate 2.12............................................... 226 12.11 weblate 2.11............................................... 227 12.12 weblate 2.10.1.............................................. 227 12.13 weblate 2.10............................................... 227 12.14 weblate 2.9................................................ 228 12.15 weblate 2.8................................................ 228 12.16 weblate 2.7................................................ 229 12.17 weblate 2.6................................................ 229 12.18 weblate 2.5................................................ 229 12.19 weblate 2.4................................................ 231 12.20 weblate 2.3................................................ 232 12.21 weblate 2.2................................................ 232 12.22 weblate 2.1................................................ 233 12.23 weblate 2.0................................................ 233 12.24 weblate 1.9................................................ 234 12.25 weblate 1.8................................................ 234 12.26 weblate 1.7................................................ 234 12.27 weblate 1.6................................................ 235 12.28 weblate 1.5................................................ 235 12.29 weblate 1.4................................................ 236 12.30 weblate 1.3................................................ 237 12.31 weblate 1.2................................................ 237 12.32 weblate 1.1................................................ 238 12.33 weblate 1.0................................................ 238 12.34 weblate 0.9................................................ 238 12.35 weblate 0.8................................................ 239 12.36 weblate 0.7................................................ 239 12.37 weblate 0.6................................................ 240 12.38 weblate 0.5................................................ 240 12.39 weblate 0.4................................................ 240 12.40 weblate 0.3................................................ 240 12.41 weblate 0.2................................................ 241 12.42 weblate 0.1................................................ 241 13 Contributing 243 13.1 Code and development.......................................... 243 iii 13.2 Coding standard............................................. 243 13.3 Developer’s Certificate of Origin.................................... 243 13.4 Testsuite................................................. 244 13.5 Reporting issues............................................. 244 13.6 Security issues.............................................. 244 13.7 Starting with our codebase........................................ 245 13.8 Earning money by coding........................................ 245 13.9 Translating................................................ 245 13.10 Funding Weblate development...................................... 245 14 Internals 247 14.1 Modules................................................. 247 15 License 249 16 Indices and tables