Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search placeholder Translation is not working with child theme #4283

Closed
poonam279 opened this issue Aug 2, 2024 · 1 comment
Closed

Search placeholder Translation is not working with child theme #4283

poonam279 opened this issue Aug 2, 2024 · 1 comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer.

Comments

@poonam279
Copy link

Description

When using the Polylang plugin to translate the Search placeholder while using a child theme, it doesn't work correctly. However, it works perfectly with the main Neve theme.

We have already copied the wpml-config.xml file from the parent theme folder into the child theme folder and updated it as described in this guide: How to Translate Themes with a Child Theme.

Step-by-step reproduction instructions

  1. Install Polylang and set up languages
  2. Add a Neve child theme
  3. Copy the wpml-config.xml file from the parent theme folder into the child theme folder and update it according to this guide.
  4. Add a search form or search icon component in the header
  5. Add translation for search placeholder in polylang plugin
  6. check the translation on frontend

Screenshots, screen recording, code snippet or Help Scout ticket

HS: https://secure.helpscout.net/conversation/2667902344/428541?folderId=212385

Environment info

No response

Is the issue you are reporting a regression

No

@poonam279 poonam279 added the bug This label could be used to identify issues that are caused by a defect in the product. label Aug 2, 2024
@pirate-bot pirate-bot added the customer report Indicates the request came from a customer. label Aug 2, 2024
@rodica-andronache
Copy link
Contributor

this can't be replicated. You just need to also copy the <key ... > lines from the wpml-config.xml file of Neve PRO in the wpml-config.xml file of the child theme. I've updated the doc about this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer.
Projects
None yet
Development

No branches or pull requests

3 participants