Тёмный

Translating pages on a Multilingual site based on WordPress Multisite 

Gato GraphQL
Подписаться 20
Просмотров 33
50% 1

We can use Gato GraphQL to create a multilingual site based on a WordPress multisite network (where every site is the translation for some language) without the need for any other plugin.
In the demo video, there is a multilingual site based on a WordPress Multisite network, with 3 languages configured as subdomains:
- `subdomain-multisite.local`: Main site with source content
- `en.subdomain-multisite.local`: Site in English
- `es.subdomain-multisite.local`: Site in Spanish
- `fr.subdomain-multisite.local`: Site in French
We translate the Classic editor-based pages from the main site (with source content) to all translation sites, by running persisted query *Translate pages for a multilingual site (Multisite / Classic editor)* (gatographql.co...) (already available by the Gato GraphQL plugin).
(To translate content based on the WordPress block editor, run persisted query *Translate pages for a multilingual site (Multisite / Gutenberg)* (gatographql.co..., also already available by the Gato GraphQL plugin.)
In this example, the main site with source content is in English, and there is also a translation site in English (under `en.subdomain-multisite.local`). When executing the persisted query for this site, the content is simply copied, without any translation performed.
When selecting the Spanish and French sites as destination, the content is translated to that language, and the corresponding pages created.
The persisted query logs into the translation site by using WordPress application passwords.
Find more info for this demo on the Gato GraphQL website: gatographql.co...

Опубликовано:

 

24 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии    
Далее
Sprint 3 - DevOps
13:47
Просмотров 3
Тонкости французской кухни🥰
00:48
Introduction to Gato GraphQL
5:49
Просмотров 151
Тонкости французской кухни🥰
00:48