Problem: The client created a pattern and added it to the theme folder, but after following the instructions and adding it via XML code, the pattern was not available for translation. Solution: 1. We recommended the client to take a copy of their pattern file code. 2. We instructed them to replace the original code with the new code provided in our response. https://pastebin.com/CYa6V8cZ 3. After replacing the code, we advised the client to navigate to WPML-> Theme and Plugin Localization, select their theme, and scan it for strings. 4. Finally, we suggested searching for the pattern strings in WPML-> String Translation using the provided link. https://ile.ua/wp-admin/admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&context=wpml-fix
If the solution provided is not relevant due to being outdated or not applicable 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. Should you need further assistance, please do not hesitate to open a new support ticket. Contact WPML support
Problem: The client encountered an error while running a wp-cli command, which resulted in a warning message about a missing closing parenthesis in the preg_replace() function within the WPML plugin file absolute-links.class.php.
If the provided solution is outdated or not applicable to your case, we recommend opening a new support ticket. We also 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.