Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Marcel 2 months, 2 weeks ago.

Author Posts
March 7, 2024 at 2:22 am #15381943

jamesH-8

Hi there

I'm trying to retrieve the translated navigation block using WMPL, GraphQL and Astro.js. If I try and get this data via nodeByUri it displays the content in the translated language but the navigation block remains in the default language. Are there any plans to provide language functionality in nodeByUri via graphQL to ensure the assigned navigation block is rendered correctly?

Thanks

James

March 7, 2024 at 8:47 am #15382746

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi James,

we have already a feature request to add it to our WPML GraphQL Add-On (https://wpml.org/documentation/related-projects/wpml-graphql/): https://wpml.org/forums/topic/translated-menu-doesnt-show-up-in-graphql/#post-13942549. You can find more information in the above link.

Best Regards
Marcel

August 26, 2024 at 12:14 pm #16104368

Marcel
Supporter

Languages: English (English ) German (Deutsch )

Timezone: Europe/Madrid (GMT+01:00)

Hi,

we release WPML GraphQL 1.1.0 today: https://wpml.org/compatibility/2024/08/wpml-graphql-1-1-0-multilingual-support-for-menus-and-enhanced-post-queries/.

Best Regards,
Marcel

The topic ‘[Closed] Getting translated block navigation using GraphQL’ is closed to new replies.