Skip to content

Hook to translate Navigation block menu data. #45421

Open
@word-x

Description

What problem does this address?

I am using a translation plugin. It works great except for the Navigation block. The navigation block menu can't be translated.
The new Navigation block works well for single language site, but for multilanguage site, we need to translate the Navigation block menu items (I know it was saved in wp_post table with a post type called "wp_navigation").

What is your proposed solution?

I am considering use a hook to replace the navigation menu data with translated menu data.

Any other methods to do the same work would also be appreciated.

Metadata

Assignees

No one assigned

    Labels

    Internationalization (i18n)Issues or PRs related to internationalization efforts[Block] NavigationAffects the Navigation Block[Type] EnhancementA suggestion for improvement.[Type] Plugin InteroperabilityIncompatibilities between a specific plugin and the block editor. Close with workaround notes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions