Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/yunohost-apps-test/my_webapp/fr/units/?format=api
https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "This app is simply a blank web app skeleton : you are expected to add you own content (HTML, CSS, PHP, ...) inside `__INSTALL_DIR__/www/`. One way to do so is by using SFTP." ], "previous_source": "", "target": [ "" ], "id_hash": 1976743501046253989, "content_hash": 1976743501046253989, "location": "src/my_webapp/ADMIN.md:2", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate.yunohost.org/api/units/131984/?format=api", "priority": 100, "id": 132016, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=9b6ecdbdafec89a5", "url": "https://translate.yunohost.org/api/units/132016/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.722425Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "Once installed, go to the chosen URL to know the username, domain and port you will have to use for the SFTP access." ], "previous_source": "", "target": [ "" ], "id_hash": 8045437647066571470, "content_hash": 8045437647066571470, "location": "src/my_webapp/ADMIN.md:6", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate.yunohost.org/api/units/131987/?format=api", "priority": 100, "id": 132018, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=efa722e9d7f522ce", "url": "https://translate.yunohost.org/api/units/132018/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.728787Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "Host: `__DOMAIN__`" ], "previous_source": "", "target": [ "" ], "id_hash": -8073013402517010922, "content_hash": -8073013402517010922, "location": "src/my_webapp/ADMIN.md:11", "context": "", "note": "type: Bullet: '- '", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.yunohost.org/api/units/131988/?format=api", "priority": 100, "id": 132020, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=0ff6e51544018616", "url": "https://translate.yunohost.org/api/units/132020/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.730716Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "Username: `__ID__`" ], "previous_source": "", "target": [ "" ], "id_hash": -660819086871947250, "content_hash": -660819086871947250, "location": "src/my_webapp/ADMIN.md:11", "context": "", "note": "type: Bullet: '- '", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.yunohost.org/api/units/131989/?format=api", "priority": 100, "id": 132021, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=76d44c8aaa33180e", "url": "https://translate.yunohost.org/api/units/132021/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.732690Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "Password: password chosen during installation" ], "previous_source": "", "target": [ "" ], "id_hash": -5728733438229408599, "content_hash": -5728733438229408599, "location": "src/my_webapp/ADMIN.md:11", "context": "", "note": "type: Bullet: '- '", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate.yunohost.org/api/units/131990/?format=api", "priority": 100, "id": 132022, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=307f734a416f14a9", "url": "https://translate.yunohost.org/api/units/132022/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.734784Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "Port: 22 (unless you changed the SSH port)" ], "previous_source": "", "target": [ "" ], "id_hash": -8490704089890399289, "content_hash": -8490704089890399289, "location": "src/my_webapp/ADMIN.md:11", "context": "", "note": "type: Bullet: '- '", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.yunohost.org/api/units/131995/?format=api", "priority": 100, "id": 132023, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=0a2af59dad205bc7", "url": "https://translate.yunohost.org/api/units/132023/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.736802Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "To connect, you'll need an SFTP app such as [Filezilla](https://filezilla-project.org/) for Windows, Mac or Linux. You can also use your default file manager on [Mac](https://support.apple.com/guide/mac-help/connect-mac-shared-computers-servers-mchlp1140/mac) or Linux." ], "previous_source": "", "target": [ "" ], "id_hash": 5384735015476642902, "content_hash": 5384735015476642902, "location": "src/my_webapp/ADMIN.md:13", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate.yunohost.org/api/units/131996/?format=api", "priority": 100, "id": 132024, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=caba6bf78f17c456", "url": "https://translate.yunohost.org/api/units/132024/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.738692Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "Starting YunoHost v11.1.21, you can run `sudo yunohost app shell __APP__` in the command line interface to log in as your app user." ], "previous_source": "", "target": [ "" ], "id_hash": -5227471557680417733, "content_hash": -5227471557680417733, "location": "src/my_webapp/ADMIN.md:22", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate.yunohost.org/api/units/132000/?format=api", "priority": 100, "id": 132028, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=37744a508b00343b", "url": "https://translate.yunohost.org/api/units/132028/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.748086Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "The `php` command will point to the PHP version installed for the app." ], "previous_source": "", "target": [ "" ], "id_hash": -3434956142652515705, "content_hash": -3434956142652515705, "location": "src/my_webapp/ADMIN.md:24", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate.yunohost.org/api/units/132001/?format=api", "priority": 100, "id": 132029, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=5054959662269a87", "url": "https://translate.yunohost.org/api/units/132029/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.750262Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "Once logged in, under the Web directory you will see a `www` folder which contains the public files served by this app. You can put all the files of your custom Web application inside." ], "previous_source": "", "target": [ "" ], "id_hash": -6362844558521122989, "content_hash": -6362844558521122989, "location": "src/my_webapp/ADMIN.md:28", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 34, "source_unit": "https://translate.yunohost.org/api/units/132003/?format=api", "priority": 100, "id": 132031, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=27b2a295f8523f53", "url": "https://translate.yunohost.org/api/units/132031/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.770767Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "The web server configuration supports http error handling `403` and `404` (access denied and resource not found). Create an `error` folder at `__INSTALL_DIR__/www/error`, and put your `403.html` and `404.html` files in there." ], "previous_source": "", "target": [ "" ], "id_hash": 4634294823396441629, "content_hash": 4634294823396441629, "location": "src/my_webapp/ADMIN.md:32", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 32, "source_unit": "https://translate.yunohost.org/api/units/132005/?format=api", "priority": 100, "id": 132033, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=c05052969cf9fe1d", "url": "https://translate.yunohost.org/api/units/132033/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.775545Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "If you want to add tweak the nginx configuration for this app, it is recommended to edit `/etc/nginx/conf.d/__DOMAIN__.d/__ID__.d/WHATEVER_NAME.conf` (ensure that the file has the `.conf` extension) and reload the nginx after making sure that the configuration is valid using `nginx -t`." ], "previous_source": "", "target": [ "" ], "id_hash": 1593339413225560860, "content_hash": 1593339413225560860, "location": "src/my_webapp/ADMIN.md:35", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 41, "source_unit": "https://translate.yunohost.org/api/units/132007/?format=api", "priority": 100, "id": 132035, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=961cadc123f05b1c", "url": "https://translate.yunohost.org/api/units/132035/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.784428Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "This application allows you to easily install an \"empty\" web application, in which you deploy your own custom website in the form of \"static\" HTML/CSS/JS assets or PHP." ], "previous_source": "", "target": [ "" ], "id_hash": -2423443683463386524, "content_hash": -2423443683463386524, "location": "src/my_webapp/DESCRIPTION.md:2", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 20, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://translate.yunohost.org/api/units/132008/?format=api", "priority": 100, "id": 132036, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=5e5e32cf52002a64", "url": "https://translate.yunohost.org/api/units/132036/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.796231Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "Files can be uploaded [via SFTP](https://yunohost.org/en/filezilla) or any other method of your chosing." ], "previous_source": "", "target": [ "" ], "id_hash": -1102987084984275949, "content_hash": -1102987084984275949, "location": "src/my_webapp/DESCRIPTION.md:4", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate.yunohost.org/api/units/132009/?format=api", "priority": 100, "id": 132037, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=70b167170fab2c13", "url": "https://translate.yunohost.org/api/units/132037/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.799843Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "During installation, you can also chose to initialize a MySQL or PostgreSQL database, which will be backed up and restored just like the other files in your application. The connection details will be stored in the file `db_access.txt` located in the root directory of the app." ], "previous_source": "", "target": [ "" ], "id_hash": 4040838500410242475, "content_hash": 4040838500410242475, "location": "src/my_webapp/DESCRIPTION.md:6", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 22, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 46, "source_unit": "https://translate.yunohost.org/api/units/132010/?format=api", "priority": 100, "id": 132038, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=b813f134f3acb5ab", "url": "https://translate.yunohost.org/api/units/132038/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.802963Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "PHP-FPM version can also be selected among (none), `7.4`, `8.0`, `8.1`, `8.2`, `8.3` and `8.4`." ], "previous_source": "", "target": [ "" ], "id_hash": -1668666991380538582, "content_hash": -1668666991380538582, "location": "src/my_webapp/DESCRIPTION.md:8", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 23, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate.yunohost.org/api/units/132011/?format=api", "priority": 100, "id": 132039, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=68d7b4365a57db2a", "url": "https://translate.yunohost.org/api/units/132039/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.804922Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "**Once installed, go to the chosen URL to know the user, domain and port you will have to use for the SFTP access.** The password is the one specified during the installation. Under the app directory, you will see a `www` folder which contains the public files served by this app. You can put all the files of your custom web application inside.\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4769509655547958315, "content_hash": 4769509655547958315, "location": "src/my_webapp/DESCRIPTION.md:10", "context": "", "note": "type: Plain text", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 24, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 63, "source_unit": "https://translate.yunohost.org/api/units/132012/?format=api", "priority": 100, "id": 132040, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=c230b3c303bb542b", "url": "https://translate.yunohost.org/api/units/132040/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.806943Z" }, { "translation": "https://translate.yunohost.org/api/translations/yunohost-apps-test/my_webapp/fr/?format=api", "source": [ "You can also customize 404 errors - if you enable the option in the config panel. Simply create an `error` folder in the `www` root directory, containing your custom `html` files." ], "previous_source": "", "target": [ "" ], "id_hash": 349213294550436373, "content_hash": 349213294550436373, "location": "src/my_webapp/DESCRIPTION.md:11", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 25, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate.yunohost.org/api/units/132013/?format=api", "priority": 100, "id": 132041, "web_url": "https://translate.yunohost.org/translate/yunohost-apps-test/my_webapp/fr/?checksum=84d8a7a42485ca15", "url": "https://translate.yunohost.org/api/units/132041/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-03-19T18:38:52.808973Z" } ] }{ "count": 18, "next": null, "previous": null, "results": [ { "translation": "