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.
Tagged: Exception
This topic contains 2 replies, has 2 voices.
Last updated by Mateus Getulio 1 year, 10 months ago.
Assisted by: Mateus Getulio.
Author | Posts |
---|---|
July 11, 2023 at 3:35 pm #14016677 | |
horstB-3 |
Hi, I am trying to solve the problem, that the default font settings from the main installation on hidden link (Divi Theme) do not show on the english translation on hidden link. My web-hoster has made the CORS-settings according to hidden link DIVI-support cannot help. Here are the links and the screenshots: |
July 11, 2023 at 9:15 pm #14018143 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there. Thank you for contacting our support. Please try the following procedure: - Go to WPML -> Settings -> Custom Fields Translation If you find any of them, set it to 'Copy' and save it. Edit the home page in the main language, add an empty space to any part of it and save it. Now update the translation and see if it fixed the font. If the issue remains or if you couldn't find any of those fields, I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Privacy and Security Policy We have strict policies regarding privacy and access to your information. Please see: **IMPORTANT** - Please make a backup of site files and database before providing us access. Please, let me know if you need any additional details. Have a nice day. |
July 12, 2023 at 8:52 pm #14028199 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, I checked it and it seems like there are errors in the console when you access the secondary language. Those errors show that the fonts(and some other content) are not being loaded due to a CORS blocking issue. In summary, given the fact you're using multiple domains per language, when the secondary language is loaded, it tries to get the content from the main language, which is by all means a different domain. Since CORS is not enabled, the content fails to be loaded due to security directives. I'd recommend checking it with your host provider, they should be able to help you enabling CORS for your site. Alternatively, there are some other content that can help you getting it enabled: hidden link Also, there are some plugins in the WordPress repo as well that could try to enable this feature for you, although we can't recommend one specifically. Enabling it should fix the issue with the wrong fonts. Please let us know if you have any other doubts. Thank you, Mateus |