📚
Ncmaz WordPress theme
New Ncmaz FSEBuy theme now Old demo
  • ⚠️Welcome
  • ☃️Community
    • 🧬Ncmaz theme, React & Graphql
    • 👋Community
  • THEME INSTALLATION
    • Configure Server Settings
    • Download and Install Theme
    • Install Default Plugins
    • Import Demo Contents
      • [ERROR] Failed to import "Home 2" page
    • How do I Update the Theme?
    • 💡Update theme manually
    • Install theme with Multisite
    • 🧐Error after update theme!
  • SING-IN / SIGN-UP
    • SignIn/SignUp With Socials
  • THEME OPTIONS
    • Translation language on front-end react components
    • How to change fonts and theme colors?
    • Customize the radius level for the theme.
    • Enable sidebar in archive pages
  • HEADER - LOGO - MENU
    • Header settings
    • How to setting megamenu?
    • Custom top notify message
  • FAVORITES
    • Icon for Favorite button
    • Custom Reading Time
    • Custom for Favorite
  • Gutenbergs
    • Gutenberg version 3 🎉
    • Ncmaz Gutenberg blocks
    • Build a home page with Ncmaz gutenbergs
    • Add form in Ncmaz Newsletter Block
    • Unexpected token < JSON at position 0
    • This block contains unexpected or invalid content.
    • Using the Elementor plugin?
    • Add Typo default Gutenberg block on Home page (page template is Ncmaz-custom-page)
    • Custom Ncmaz Newsletter Block
    • Widget Ncmaz Gutenberg blocks
    • Issue with Ncmaz users block
  • SINGLE
    • Setting Post format Video, Audio, Gallery
    • Setting single style and toggle single sidebar widgets
    • (Deprecated) Create Post-Submission pages
    • Add Ncmaz Gutenberg blocks to single post
  • ❓How to?
    • Update theme?
    • Translate some missing words
    • Thumbnails are blurry when viewed in mobile mode.
    • Fix hidden login modal on mobile?
    • Style dashboard, account page break?
    • Customize fields in dashboard sections at Frontend
    • Import RTL demo data
    • Integrate the Polylang plugin into the theme
    • (Deprecated) Add ACF fields to the wp-user-frontend-pro form
    • (Deprecated) Create account page (wfu) ?
    • Create frontend submission post page and edit account page
    • You don't have permission to submission the post.
    • Optimize performance and improve GTmetrix score, Google PageSpeed Insights
    • Cover image for archive pages. Settings number of tags, categories on submit post page
    • Ncmaz-frontend plugin project development
    • How to get Youtube video ID
    • Social share link
  • Footers
    • Footer widgets
  • 💊Custom CSS
    • Custom CSS
    • Header custom CSS
    • Change default Bg image on Archive page
  • 🕯️CHANGE LOG
    • Support
    • Change log
  • Ncmaz ACF fields
Powered by GitBook
On this page

Was this helpful?

  1. How to?

Integrate the Polylang plugin into the theme

PreviousImport RTL demo dataNext(Deprecated) Add ACF fields to the wp-user-frontend-pro form

Last updated 3 years ago

Was this helpful?

Because the theme works a lot on Gutenberg blocks and gets data based on Graphql, so some customization steps need to be done for the Polylang plugin to work properly

  1. Need to install and activate the plugins: and

  2. Navigate to: Theme options -> General settings -> Enable Active language (Polylang) in Graphql

  3. Navigate to the locales folder in the theme or child-theme, I recommend customizing in the child-theme as it won't be lost when you update the theme

  4. Add file translate javascript - Please watch and follow this video:

  5. Note: window.locales.EN = en; where EN is the language code and uppercased.

❓
Polylang
WP GraphQL Polylang
https://www.loom.com/share/2ea970d38a22436fb0643d5471c772e7