Skip to content

Commit f2bb23b

Browse files
committed
Add sequence diagram
1 parent 4cf8e45 commit f2bb23b

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@
33
**Wagtail Translate** adds machine translations to your Wagtail site, with built-in support for [DeepL](https://www.deepl.com) and the flexibility to integrate other translation services.
44
It automatically detects when a page is copied to a new locale and initiates the translation process.
55

6+
```mermaid
7+
sequenceDiagram
8+
actor User
9+
box Your web-application
10+
participant Wagtail
11+
participant Wagtail Translate
12+
end
13+
participant Translation Service
14+
15+
User->>Wagtail: Translate page
16+
Wagtail->>Wagtail Translate: Fire 'copy for translation done' signal
17+
Wagtail Translate->>Translation Service: Request translation
18+
Translation Service->>Wagtail Translate: Return translated text
19+
Wagtail Translate->>Wagtail: Save revision
20+
User->>Wagtail: Publish page
21+
```
22+
623
[Wagtail Localize](https://wagtail-localize.org/) and [Wagtail Simple Translation](https://docs.wagtail.org/en/stable/reference/contrib/simple_translation.html) are the go-to solutions for multi-language Wagtail projects.
724
Wagtail Localize offers advanced features that may be excessive for many projects, while Wagtail Simple Translation only copies pages to new locales, requiring manual translation.
825

0 commit comments

Comments
 (0)