Problem: The client reported that the JavaScript file 'wpgmp-project-filters.js' was not loading on their site's translated pages for German (de), French (fr), Norwegian (no), Danish (da), and Swedish (sv) languages, although it was loading correctly for English (en), Dutch (nl), and Spanish (es). Solution: Initially, we suggested clearing all caches (plugin, server, Cloudflare, etc.) to see if that resolved the issue. Upon further investigation, we discovered that the problem was due to custom code in the file
wp-content/themes/kebonyglobal/functions.php
. Specifically, the function
kebony_relocate_inline_scripts()
contained a line of code that needed commenting out:
// strpos($src, 'project') !== false ||
After making this change, the JavaScript file should load correctly on all language versions of the site.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.
Problem: The client needed help translating custom fields such as 'Experience', 'Fresh', and 'Year' from the WP Job Board plugin, which were not registered in a way that WPML could translate them due to compatibility issues. Solution: We recommended creating the same custom fields again for the secondary language and using the manual translation method to manually assign the translated fields to the translated jobs, while keeping the original fields assigned to the default language jobs. Additionally, we suggested configuring WP Job Board so that empty field values are not displayed to avoid showing duplicate fields. We also advised contacting the plugin author for potentially better multilingual support and checking the list of officially compatible plugins at https://wpml.org/plugin/.
If this solution does not resolve your issue or seems outdated, please open a new support ticket. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, you can also visit our support forum at WPML support forum.