Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/administrator-configuration-optimize/en_US/units/?format=api
https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372360, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=a12e71ab26fbaec9", "url": "https://translate.funkwhale.audio/api/units/372360/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.839629Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372361, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=42233dc42da27588", "url": "https://translate.funkwhale.audio/api/units/372361/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.840511Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372362, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=0f064e0455872cd7", "url": "https://translate.funkwhale.audio/api/units/372362/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.841253Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372363, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=3592e492fe2838ef", "url": "https://translate.funkwhale.audio/api/units/372363/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.841965Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372364, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=0754ffbb24167980", "url": "https://translate.funkwhale.audio/api/units/372364/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.842716Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372365, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=d3ce98532eae8aed", "url": "https://translate.funkwhale.audio/api/units/372365/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.843460Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372366, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=ad380ad62cad330b", "url": "https://translate.funkwhale.audio/api/units/372366/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.844183Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372367, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=a0718f016d8ce7d1", "url": "https://translate.funkwhale.audio/api/units/372367/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.844895Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372368, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=80ead098eea3be63", "url": "https://translate.funkwhale.audio/api/units/372368/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.845635Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372369, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=824bb06226b88338", "url": "https://translate.funkwhale.audio/api/units/372369/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.846358Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372370, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=6223b41fee9d64f7", "url": "https://translate.funkwhale.audio/api/units/372370/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.847064Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372371, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=7a433fead4714ae6", "url": "https://translate.funkwhale.audio/api/units/372371/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.847787Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372372, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=0cb4a27b4f21ed0e", "url": "https://translate.funkwhale.audio/api/units/372372/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.848550Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372373, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=962d4e14eb4a8f52", "url": "https://translate.funkwhale.audio/api/units/372373/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.849268Z" }, { "translation": "https://translate.funkwhale.audio/api/translations/documentation/administrator-configuration-optimize/en_US/?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": 372374, "web_url": "https://translate.funkwhale.audio/translate/documentation/administrator-configuration-optimize/en_US/?checksum=ca03255b8c52e0b8", "url": "https://translate.funkwhale.audio/api/units/372374/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-03-25T08:06:48.849997Z" } ] }{ "count": 15, "next": null, "previous": null, "results": [ { "translation": "