You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Core Customizer text keys missing from free wpml-config.xml (header HTML, copyright, button, search) #4699
The WPML compatibility team tested Neve 4.2.19 (free, without Neve Pro) with WPML 5.3.0. They report that the header Custom HTML and footer copyright texts do not appear in WPML String Translation and show in the default language on translated pages. They saw the same result on 4.2.8. This has not been reproduced on our side yet; the code check below supports it.
These keys belong to free theme components but are only listed in Neve Pro's wpml-config.xml, so free-only sites cannot translate them.
The WPML team confirmed the first two work when added as WPML Custom XML. neve_footer_text and neve_read_more_text in the free file are no longer read by the theme and can be removed. header_search_responsive_button_text and neve_single_post_metadata_separator are also missing from Neve Pro's file.
wpml-config.xml also lists every other key from the issue's proposed list: button_base_text_setting, button_base_link_setting, header_search_placeholder, header_search_responsive_placeholder, header_search_responsive_button_text, neve_single_post_metadata_separator and neve_scroll_to_top_label.
Left out on purpose: neither free Neve nor Neve Pro ever displays this value. The responsive search component has no text-button mode, and both its template (component-search-responsive.php) and Pro's component-advanced-search-icon.php call get_search_form() without button_text. Registering it would only add a string in WPML that changes nothing on the site. The bot confirmed the value is not output.
On a site with free Neve (no Neve Pro) and WPML, several Customizer texts can't be translated: the header Custom HTML and Button, the footer copyright, the search placeholders, the single post meta separator and the scroll to top label. WPML String Translation doesn't list them, so translated pages show them in the default language.
Requires: WPML Multilingual CMS + String Translation (paid) with two languages, and Neve Pro not installed. The test links can't install WPML, so this comment has steps only.
Reproduce on Neve 4.2.19:
With Neve 4.2.19 active and WPML set up with two languages (for example English and French), go to Appearance → Customize → Header.
Add a Custom HTML component with the text Header HTML test.
Add a Button component with the text Button test, then click Publish.
Go to Customize → Footer → Copyright, set the text to Copyright test, then click Publish.
Go to WPML → String Translation and search for test.
Open the homepage in the second language.
Bug: none of the three texts is listed in String Translation, and the second-language homepage shows them in English.
Fixed: all three are listed (domain admin_texts_theme_mods_neve). After you translate them, the second-language homepage shows the translations.
Edge cases
Header search placeholder and mobile search placeholder: listed in String Translation, and the translations show on the second-language page.
Single post meta separator and scroll to top label: listed and translated.
Site migrated from the old top bar (top bar text kept as the Custom HTML default): that text is listed too.
Child theme that still ships an older copied wpml-config.xml: check whether WPML picks up the new texts.
Neve Pro active as well: no duplicate strings in String Translation and no errors.
Assumption: WPML may cache the theme's language config. If the texts don't show up after you install the PR build, open WPML → Theme and plugins localization once, then check again.
QA agent — 🟡 Needs human QA · Free Neve's header HTML, copyright and other Customizer texts become translatable with the new config; real WPML is still unchecked.
We installed free Neve with the PR's config and no Neve Pro. Real WPML is a paid plugin, so a small test plugin stood in for it: it reads the theme's wpml-config.xml the way WPML's admin-texts feature does. We edited the header HTML and the copyright in the Customizer and published. Both texts then showed up as translatable strings, and the second-language page showed the translated versions. The button, search placeholders, single post separator, scroll-to-top label and the old top bar text behaved the same way. On the old build none of them were translated, and the PR's new unit tests pass on the PR and fail on the old build.
Worth a human look
Repeat the issue's steps with real WPML Multilingual CMS + String Translation in two languages: confirm the texts are listed under admin_texts_theme_mods_neve and the translations appear (open WPML > Theme and plugins localization once if WPML caches the config).
Check a child theme that ships an older copy of wpml-config.xml to see whether WPML picks up the new keys.
With Neve Pro also active, check that String Translation shows no duplicate strings.
Checks (7 passed · 1 not tested)
✅ The PR-added PHPUnit tests in tests/test-wpml-compatibility.php (test_wpml_config_lists_free_text_theme_mods, test_wpml_config_omits_theme_mods_the_theme_never_reads) pass against the PR build, and fail against the qa-base wpml-config.xml.
✅ After an admin edits the header Custom HTML text and the footer Copyright text in the Customizer and clicks Publish, both texts are listed as translatable strings (domain admin_texts_theme_mods_neve) under keys registered in the active theme's wpml-config.xml.
✅ On the second-language front page, the header Custom HTML and footer copyright show the translated text instead of the default-language text (and on the qa-base build they stay in the default language).
✅ Header Button text and link, header search placeholder and mobile (responsive) search placeholder are registered and their translations render on the second-language page (base build: not translated).
✅ Single post meta separator and scroll-to-top label are registered and their translations render on the second-language single post / page (base build: not translated).
✅ On a site migrated from the old top bar (custom_html_content unset, neve_top_bar_content holding the text), the legacy top bar text used as the Custom HTML default is registered and its translation renders in the header on the second-language page.
✅ The stale keys neve_footer_text and neve_read_more_text are no longer registered, header_search_responsive_button_text stays unregistered and is not output anywhere on the front end (maintainer clarification), and the theme front end renders without PHP errors with the new config.
⏸️ With real WPML Multilingual CMS + String Translation (two languages, no Neve Pro), WPML > String Translation lists the header Custom HTML and footer copyright texts under admin_texts_theme_mods_neve, and after translating them the second-language page shows the translations.
Activity
girishpanchal30 commentedon Nov 24, 2026
I have fixed it with PR #4715
girishpanchal30 commentedon Nov 24, 2026
@pirate-bot
Left out on purpose: neither free Neve nor Neve Pro ever displays this value. The responsive search component has no text-button mode, and both its template (
component-search-responsive.php) and Pro'scomponent-advanced-search-icon.phpcallget_search_form()withoutbutton_text. Registering it would only add a string in WPML that changes nothing on the site. The bot confirmed the value is not output.milicavs commentedon Nov 24, 2026
🧪 QA steps
On a site with free Neve (no Neve Pro) and WPML, several Customizer texts can't be translated: the header Custom HTML and Button, the footer copyright, the search placeholders, the single post meta separator and the scroll to top label. WPML String Translation doesn't list them, so translated pages show them in the default language.
Requires: WPML Multilingual CMS + String Translation (paid) with two languages, and Neve Pro not installed. The test links can't install WPML, so this comment has steps only.
Reproduce on Neve 4.2.19:
Header HTML test.Button test, then click Publish.Copyright test, then click Publish.test.admin_texts_theme_mods_neve). After you translate them, the second-language homepage shows the translations.Edge cases
wpml-config.xml: check whether WPML picks up the new texts.Assumption: WPML may cache the theme's language config. If the texts don't show up after you install the PR build, open WPML → Theme and plugins localization once, then check again.
Fix: #4715 (open)
pirate-bot commentedon Nov 24, 2026
QA agent — 🟡 Needs human QA · Free Neve's header HTML, copyright and other Customizer texts become translatable with the new config; real WPML is still unchecked.
We installed free Neve with the PR's config and no Neve Pro. Real WPML is a paid plugin, so a small test plugin stood in for it: it reads the theme's wpml-config.xml the way WPML's admin-texts feature does. We edited the header HTML and the copyright in the Customizer and published. Both texts then showed up as translatable strings, and the second-language page showed the translated versions. The button, search placeholders, single post separator, scroll-to-top label and the old top bar text behaved the same way. On the old build none of them were translated, and the PR's new unit tests pass on the PR and fail on the old build.
Worth a human look
Checks (7 passed · 1 not tested)
Full report, evidence and session trail