pleroma/docs/docs/configuration
ilja c092fc9fd6 Add translation module for Argos Translate (#351)
Argos Translate is a Python module for translation and can be used as a command line tool.

This is also the engine for LibreTranslate, for which we already have a module.
Here we can use the engine directly from our server without doing requests to a third party or having to install our own LibreTranslate webservice (obviously you do have to install Argos Translate).

One thing that's currently still missing from Argos Translate is auto-detection of languages (see <https://github.com/argosopentech/argos-translate/issues/9>). For now, when no source language is provided, we just return the text unchanged, supposedly translated from the target language. That way you get a near immediate response in pleroma-fe when clicking Translate, after which you can select the source language from a dropdown.

Argos Translate also doesn't seem to handle html very well. Therefore we give admins the option to strip the html before translating. I made this an option because I'm unsure if/how this will change in the future.

Co-authored-by: ilja <git@ilja.space>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/351
Co-authored-by: ilja <akkoma.dev@ilja.space>
Co-committed-by: ilja <akkoma.dev@ilja.space>
2022-12-19 13:06:39 +00:00
..
integrations varnish config/docs (#342) 2022-12-05 13:39:27 +00:00
optimisation varnish config/docs (#342) 2022-12-05 13:39:27 +00:00
auth.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00
cheatsheet.md Add translation module for Argos Translate (#351) 2022-12-19 13:06:39 +00:00
custom_emoji.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00
frontend_management.md API compatibility with fedibird, frontend config (#163) 2022-08-17 00:22:59 +00:00
hardening.md minor-changes (#313) 2022-11-26 19:27:58 +00:00
how_to_serve_another_domain_for_webfinger.md Support reaching user@sub.domain.tld at user@domain.tld (#134) 2022-08-02 13:54:22 +00:00
howto_database_config.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00
howto_mediaproxy.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00
howto_proxy.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00
howto_search_cjk.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00
howto_set_richmedia_cache_ttl_based_on_image.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00
howto_theming_your_instance.md Add favicon, frontend docs 2022-11-20 21:44:32 +00:00
i2p.md HTTP header improvements (#294) 2022-11-20 21:20:06 +00:00
mrf.md docs: Remove quarantine section 2022-11-29 18:31:24 +00:00
onion_federation.md HTTP header improvements (#294) 2022-11-20 21:20:06 +00:00
postgresql.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00
search.md Fix false error in meilisearch index (#221) 2022-09-20 10:36:21 +00:00
static_dir.md Document custom.css 2022-12-07 11:45:53 +00:00
storing_remote_media.md Documentation updates for stable release (#73) 2022-07-15 12:27:16 +00:00