Multilingual Headless WordPress with Next JS, WPGraphQL & Polylang plugin

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 21

  • @WPEngineBuilders
    @WPEngineBuilders  2 года назад +2

    What questions do ya'll have? about Multilingual Headless WP? Let us know!

    • @osipreciosa
      @osipreciosa 2 года назад

      Thanks!
      What if I want to use a translated url slug?
      For example for English will be /home and for Spanish /inicio

    • @karnajitmandal142
      @karnajitmandal142 Год назад

      What's the point? You don't reply to doubts or queries, all you need is appreciation

  • @Christian-md6vo
    @Christian-md6vo 2 года назад +3

    Good Work thanks

  • @Geomaverick124
    @Geomaverick124 2 года назад

    Keep up the good work! I cant wait for more. :)

  • @Federico-pn9hp
    @Federico-pn9hp Год назад +2

    great video, just one question, how do you handle SEO for multilingual?

  • @Foused87
    @Foused87 10 месяцев назад +1

    What about SEO?😊

  • @lalaland322
    @lalaland322 2 года назад

    great video!

  • @karnajitmandal142
    @karnajitmandal142 Год назад

    In your GitHub code, I didn't find any i18next dependency on your package.json

  • @tdiezel
    @tdiezel Год назад +1

    It works, but when switching languages in a single post, the url remains the same. How to have the proper permalink in the url ?

    • @WPEngineBuilders
      @WPEngineBuilders  Год назад +1

      We don't have a tutorial on this one yet, but I'd recommend checking out this codebase. It leans into Polylang/WP to manage URLs for translations. It's built using Faust, so this is a template file, but could be applied to any other framework in the same way: github.com/JEverhart383/faust-intl/blob/main/wp-templates/single.js

    • @tdiezel
      @tdiezel Год назад

      @@WPEngineBuilders Awesome ! Thanks a lot !

    • @WPEngineBuilders
      @WPEngineBuilders  Год назад

      @@tdiezel Sure thing, let us know if you have Q's

  • @allenliu9857
    @allenliu9857 2 года назад +1

    Are there other plugins other than Polylang? Seems ACF pro only works with Polylang pro and it is so expensive. How about WPML?

    • @francisagulto5017
      @francisagulto5017 2 года назад

      WPML Allen is a good choice as well! Correct me if I am wrong but WPML may not have a free version.

  • @Gavin-002
    @Gavin-002 Год назад

    I attempted to run the code "const { locale: activeLocale, locales, asPath } = useRouter();" but the result is undefined. I believe the issue may be due to Next.js13. Can you please assist me? Thank you.

  • @wilonweb
    @wilonweb 10 месяцев назад +1

    Is this still relevant with app router?

    • @WPEngineBuilders
      @WPEngineBuilders  9 месяцев назад +2

      It is not, I will have to make an update.

    • @Latelier31
      @Latelier31 7 месяцев назад

      @@WPEngineBuilders Ooh oui ce serait génial !! Je dois refaire un site totalement multilingue avec des contenus différents suivant les pays et j'ai beaucoup de mal à adapter votre vidéo à mon projet :/