This thread is resolved. Here is a description of the problem and solution.
Problem:
Beloni is a theme that allows you to have customized footers. However the footer will always be in the default langue even on translations.
Solution:
The solution was to modify the theme code and add a filter that retrieves the footer ID in the current language (and if the footer is not translated yet it will get the ID in default language as fallback)
- Open the footer.php file in your text editor and replace:
WARNING: This is a custom code to fix an issue from a third party theme. We're not responsible for it! We encourage any client of this theme to contact the theme author and report the issue and validate this workaround.
Welcome to the WPML support forum. My name is Nicolas and I will be happy to help you today.
To help speed up the support process, I've enabled a private message for submitting the debug information for this support ticket. Please follow these initial debugging steps: https://wpml.org/faq/provide-debug-information-faster-support/
In short:
- Go to "WPML > Support > Debug Information" (link)
- Copy the Debug Information from there.
- Find the private field I activated and paste that information.
---
While waiting for that file, I had a quick look at your website and I can see that the footer is using Elementor widgets but the footer ID is "bwp-footer" (which is not from Elementor). So, I'm not sure about the issue here.
2. If the footer is not coming from Elementor
Please provide me with all the details:
- How did you create that footer? Is it from your theme or an add-on plugin?
- Were you able to translate that footer but the text is not translated on the frontend?
Thanks for providing your debug file. Your configuration seems fine!
You mentioned that the footer was coming from your theme, I checked and "Beloni" is not on the list of compatible themes (https://wpml.org/theme/).
That doesn't mean that the theme is not compatible, it means that we didn't test it and we don't have a specific documentation for it.
I see on their themeforest page that they claim to be compatible with WPML. Do you have access to their documentation? Anything mentioned about WPML?
If you have a hard time to explain in details the issue, I can also have a look. That should save us time.
Could you please provide me with a temporary admin access (wp-admin and FTP) – preferably to a test site where the issue has been replicated – so I can further investigate. I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.
IMPORTANT: Before we proceed, please backup your site and database.
Thank you for providing me access. I was on the right track, the footer is indeed coming from your theme options:
- Go to "WPbingo > Footers" to see all your English footers
- Go to "WPML > Settings > Post Types Translation" and change the translation preference of "Footer (bwp_footer)" from "Not translatable" to "Translatable"
- Now go back to "WPbingo > Footers" and you will see the "+" icon that allows you to translate your footers
- FYI, the first link you sent (hidden link) uses "Footer 2" in case you want to start with this one.
I added a filter that retrieves the footer ID in the current language (and if the footer is not translated yet it will get the ID in default language)
IMPORTANT: Please note that custom codes are out of the scope of our support but I wanted to help you out here. We cannot guarantee/maintain this code. Please test the code yourself, make sure that everything is working fine. If you need help you can also contact one of our certified partners from this link: http://wpml.org/documentation/support/wpml-contractors/
You will get the custom assistance you need to get on with your project.
Last, I would strongly recommend to contact the theme authors and invite them to join our GoGlobal program: https://wpml.org/documentation/support/go-global-program/
Our developers will be more than happy to help them make their theme 100% compatible and listed on our site as compatible theme here: https://wpml.org/theme/