How to query multilingual WordPress content with GraphQL
The short answer
WPGraphQL does not provide multilingual filtering by itself. For a manual setup, query known translated posts by slug or ID; for language filters, translation lists and language switchers, use WPML with its GraphQL integration and query the language-aware fields.
What you need
- A WordPress site with WPGraphQL installed
- WPML configured with at least two active languages
- GraphQL access to the WordPress site
- Admin access and a way to test GraphQL queries
The fast route
Get WPML GraphQL
Let WPML GraphQL do it
Adds WPML-aware GraphQL queries for multilingual custom content, suited to headless apps over standard REST APIs.