Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/administrator-configuration-optimize/fr/units/?format=api
https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Optimize memory usage" ], "previous_source": "", "target": [ "" ], "id_hash": 2390973432087686857, "content_hash": 2390973432087686857, "location": "../../administrator_documentation/configuration_docs/optimize.md:1", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.funkwhale.audio/api/units/372141/?format=api", "priority": 100, "id": 372381, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=a12e71ab26fbaec9", "url": "https://translate.funkwhale.audio/api/units/372381/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.106468Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Funkwhale has a reasonable memory footprint. If you're running Funkwhale on a limited device, you can use these tweaks to reduce the footprint." ], "previous_source": "", "target": [ "" ], "id_hash": -4457651293378153080, "content_hash": -4457651293378153080, "location": "../../administrator_documentation/configuration_docs/optimize.md:3", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate.funkwhale.audio/api/units/372142/?format=api", "priority": 100, "id": 372382, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=42233dc42da27588", "url": "https://translate.funkwhale.audio/api/units/372382/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.107370Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Reduce workers concurrency" ], "previous_source": "", "target": [ "" ], "id_hash": -8140733495903834921, "content_hash": -8140733495903834921, "location": "../../administrator_documentation/configuration_docs/optimize.md:5", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.funkwhale.audio/api/units/372143/?format=api", "priority": 100, "id": 372383, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=0f064e0455872cd7", "url": "https://translate.funkwhale.audio/api/units/372383/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.108121Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Funkwhale uses Celery to handle asynchronous tasks. By default, Celery spawns a worker per CPU core. This can lead to higher memory usage." ], "previous_source": "", "target": [ "" ], "id_hash": -5362972886264432401, "content_hash": -5362972886264432401, "location": "../../administrator_documentation/configuration_docs/optimize.md:7", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate.funkwhale.audio/api/units/372144/?format=api", "priority": 100, "id": 372384, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=3592e492fe2838ef", "url": "https://translate.funkwhale.audio/api/units/372384/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.108850Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "You can set the number of workers using the `CELERYD_CONCURRENCY` variable in your `.env` file. For example, a value of `CELERYD_CONCURRENCY=1` spawns a single worker." ], "previous_source": "", "target": [ "" ], "id_hash": -8695043801316165248, "content_hash": -8695043801316165248, "location": "../../administrator_documentation/configuration_docs/optimize.md:9", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate.funkwhale.audio/api/units/372145/?format=api", "priority": 100, "id": 372385, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=0754ffbb24167980", "url": "https://translate.funkwhale.audio/api/units/372385/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.109628Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Reducing the number of celery workers slows down the handling of asynchronous tasks. On larger instances, this can cause performance problems." ], "previous_source": "", "target": [ "" ], "id_hash": 6038931633383312109, "content_hash": 6038931633383312109, "location": "../../administrator_documentation/configuration_docs/optimize.md:12", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate.funkwhale.audio/api/units/372146/?format=api", "priority": 100, "id": 372386, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=d3ce98532eae8aed", "url": "https://translate.funkwhale.audio/api/units/372386/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.110412Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Switch to solo pool execution" ], "previous_source": "", "target": [ "" ], "id_hash": 3258366245391381259, "content_hash": 3258366245391381259, "location": "../../administrator_documentation/configuration_docs/optimize.md:15", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate.funkwhale.audio/api/units/372150/?format=api", "priority": 100, "id": 372387, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=ad380ad62cad330b", "url": "https://translate.funkwhale.audio/api/units/372387/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.111154Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Celery uses a `prefork` pool by default. This enables the server to process many tasks at the same time. You can switch to a `solo` pool which handles tasks one at a time. This reduces memory overhead but removes the ability to process tasks concurrently." ], "previous_source": "", "target": [ "" ], "id_hash": 2337806917877688273, "content_hash": 2337806917877688273, "location": "../../administrator_documentation/configuration_docs/optimize.md:17", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 45, "source_unit": "https://translate.funkwhale.audio/api/units/372162/?format=api", "priority": 100, "id": 372388, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=a0718f016d8ce7d1", "url": "https://translate.funkwhale.audio/api/units/372388/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.111871Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Debian" ], "previous_source": "", "target": [ "" ], "id_hash": 66094499807608419, "content_hash": 66094499807608419, "location": "../../administrator_documentation/configuration_docs/optimize.md", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate.funkwhale.audio/api/units/372174/?format=api", "priority": 100, "id": 372389, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=80ead098eea3be63", "url": "https://translate.funkwhale.audio/api/units/372389/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.112615Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Open your `funkwhale-worker` unit file in an editor." ], "previous_source": "", "target": [ "" ], "id_hash": 165419746932065080, "content_hash": 165419746932065080, "location": "../../administrator_documentation/configuration_docs/optimize.md:25", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.funkwhale.audio/api/units/372186/?format=api", "priority": 100, "id": 372390, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=824bb06226b88338", "url": "https://translate.funkwhale.audio/api/units/372390/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.113314Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Add the `--pool=solo` flag to the `ExecStart` line of your unit file." ], "previous_source": "", "target": [ "" ], "id_hash": -2151678147712686857, "content_hash": -2151678147712686857, "location": "../../administrator_documentation/configuration_docs/optimize.md:31", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate.funkwhale.audio/api/units/372190/?format=api", "priority": 100, "id": 372391, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=6223b41fee9d64f7", "url": "https://translate.funkwhale.audio/api/units/372391/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.114093Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Restart the Celery service." ], "previous_source": "", "target": [ "" ], "id_hash": -413416462968861978, "content_hash": -413416462968861978, "location": "../../administrator_documentation/configuration_docs/optimize.md:42", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate.funkwhale.audio/api/units/372191/?format=api", "priority": 100, "id": 372392, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=7a433fead4714ae6", "url": "https://translate.funkwhale.audio/api/units/372392/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.114848Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Docker" ], "previous_source": "", "target": [ "" ], "id_hash": -8307836762099421938, "content_hash": -8307836762099421938, "location": "../../administrator_documentation/configuration_docs/optimize.md", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate.funkwhale.audio/api/units/372192/?format=api", "priority": 100, "id": 372393, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=0cb4a27b4f21ed0e", "url": "https://translate.funkwhale.audio/api/units/372393/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.115630Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Add the `--pool=solo` flag to the `celerybeat` command in `docker-compose.yml`." ], "previous_source": "", "target": [ "" ], "id_hash": 1598019294540238674, "content_hash": 1598019294540238674, "location": "../../administrator_documentation/configuration_docs/optimize.md:53", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate.funkwhale.audio/api/units/372193/?format=api", "priority": 100, "id": 372394, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=962d4e14eb4a8f52", "url": "https://translate.funkwhale.audio/api/units/372394/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.116369Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/fr/?format=api", "source": [ "Restart Celery." ], "previous_source": "", "target": [ "" ], "id_hash": 5333147458863292600, "content_hash": 5333147458863292600, "location": "../../administrator_documentation/configuration_docs/optimize.md:61", "context": "", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate.funkwhale.audio/api/units/372194/?format=api", "priority": 100, "id": 372395, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/fr/?checksum=ca03255b8c52e0b8", "url": "https://translate.funkwhale.audio/api/units/372395/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:49.117110Z" } ] }{ "count": 15, "next": null, "previous": null, "results": [ { "translation": "