Home›Support›English Support›[Resolved] Some fonts changed on the french version of my website after running the last updates for Elementor ...
[Resolved] Some fonts changed on the french version of my website after running the last updates for Elementor ...
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with their WordPress site after updating the Elementor and Elementor Pro plugins. Specifically, the fonts on the French version of the website changed, and agents were not being assigned to translated properties, causing them not to appear on the 'À propos' page.
Solution: For the font issue, it was discovered that the problem was due to CORS policy errors blocking the custom fonts from being loaded. The solution involved resetting the theme, which resolved most of the font issues. However, for complete resolution, adjustments related to CORS policy might be needed, which involves server settings and possibly contacting the hosting provider.
For the agent assignment issue, the WPML support team adjusted the custom field settings to 'copy' so that the agent assigned in the original property would automatically be copied to the translated property. Additionally, specific code modifications were suggested to ensure that the agent ID is correctly recognized across different languages in the Houzez theme. These changes involved adding filters to apply the correct agent ID based on WPML's language settings.
If these solutions do not resolve your issues or seem outdated, 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 further assistance is needed, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Thank you for your response and the hard work! As I am not a developper, I don't feel confortable changing the code on my website (I don't understand the ins and outs, so it looks risky to me).
I would rather wait for a permanent solution (modification directly made into Houzez theme or WPML plugin). To the best of my knowledge, this seem to be a preferable solution.
Questions:
I was able to assign agents for the french version manually, by editing the french property. I understand this was not the best solution as I am not supposed to edit the french translated page directly (I was told to proceed this way by Waqas, the founder of Houzez theme). Why is this no longer possible?
I believe the best solution, ultimately, would be to automatically assign the same agent to the translated french property than the english property (main language), if that makes sense? Is this the permanent solution you are working on? How long would it take to fix this permanently?
Languages: English (English )French (Français )Arabic (العربية )
Timezone: Pacific/Easter (GMT-05:00)
Hey Arnaud,
The code that I shared is actually the code that is supposed to be added to Houzez to make this work, we sent a copy to Waqas so they add it to their theme, so it is safe to implement,
To make it even more appealing, I have tested it locally on a copy of your site and it worked well, so if you want me to apply it for you, pelase share the access again,
If you still want to wait for an "official" update, then it could take from weeks to months depending on Waqas' schedule and planning,
And if you still want to assign the agent manually in french, then simply remove the edit I did under WPML > Settings > Custom Fields translation by changing the fields
fave_agent_display_option and fave_agents to "Translate",
I just noticed that a part of my contact page in french was not translated into french. I feel like at some point it was translated into french, but not sure 100% (I hope it's not reverting again...).
I don't know how to translate this. Could you please help me on that?
Languages: English (English )French (Français )Arabic (العربية )
Timezone: Pacific/Easter (GMT-05:00)
Hello,
I have translated the form text : hidden link
This was not translated before, it was part of the Houzez form widget that we registered before for a different form (but we missed these field as it wasn't used on the other form)
I did the necessary changes to register it and added it to the list of correction Houzez have to apply,
For the Agent issue, you are right, if Houzez creates the next update without this code and without applying any fix, then this code would be deleted,
Then in that case, if you think you can wait, let's wait for Houzez to apply the code officially,
And in the meantime, apply the agent manually,
I hope that made it clearer, let me know how you would like to proceed,
Ok, everything is well noted regarding the translation in the contact form, and thank you for translating the missing part!
Regarding the agent assignment issue, I think it's better if I wait for Houzez to resolve the issue permanently. Do you think it could help if I open a ticket with Houzez, asking for Waqas to review this?
I wish I could apply the agent manually on the french version, by editing the french version page, like I was doing before, but it's no longer possible. Any tips on how I could do that?
I can now see the agent (myself) in the drop menu from the french property and select it, however, when I hit save and refresh the property, the agent assigned (Arnaud Homburger) disappears. (It's not holding the assigned agent). As a result, I can't see the last 4 properties I created in the "À propos page". Do you know how I can proceed to assign "Arnaud Homburger" to the last 4 french properties? Thank you for your assistance.
Languages: English (English )French (Français )Arabic (العربية )
Timezone: Pacific/Easter (GMT-05:00)
This time it doesn't seem to be houzez related as I cannot edit any part of the properties, I think something changed with the URL settings and I'm debugging this locally : hidden link
Languages: English (English )French (Français )Arabic (العربية )
Timezone: Pacific/Easter (GMT-05:00)
I had to escalate this one unfortunately, and it only happens with Houzez properties, so it is related to houzez at the end,
The issue is also happening locally, but not on a new installation, that means something changed in the configuration since our last debug, I mad sure to cancel all the edits I did, so I suspect something else changed (update or other configuration change)
I will get back to you as soon as I get a solution, thanks for the patience again,
Ok. I don't see that message when I follow the these steps, but yes, the assigned agent can't be saved on the french properties (I understand this is the source of our problem).
I will be patiently waiting for the resolution of this ticket.
Languages: English (English )French (Français )Arabic (العربية )
Timezone: Pacific/Easter (GMT-05:00)
Thanks again for your patience and professionalism :), Working with you has been seamless!
And another update, we are planning a big retest for houzez soon, we filed all your reports along with ones from other users and we will be working with Waqas on this,