Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are trying to translate a section of your theme related to room facilities, but while the text translates, the images do not appear in the translated version.
Solution:
This issue occurs because the icons for the room facilities are not defined in the specific language you are translating to. For instance, if the icons are visible in the English version, you need to ensure they are also set up for other languages. You can do this by navigating to the Room Facility options in your WordPress admin panel and selecting the appropriate language from the top bar. Once there, you need to define the icons for each facility by clicking on "Choose an Icon".

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your current setup, we recommend opening a new support ticket. Additionally, 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, please visit our support forum 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.

Tagged: 

This topic contains 25 replies, has 2 voices.

Last updated by Marcel 1 year, 7 months ago.

Assisted by: Marcel.

Author Posts
May 21, 2024 at 8:55 am #15648938

mariaP-49

Hi! Sorry for the multiple questions but i have some technical problems.
I have another problem. I tried to translate a section of my theme. It is the room facilities. As you can see only one section with the images translated. In the first section there is the translation but the images don't appear. In this situation what should i do?

May 21, 2024 at 9:00 am #15648977

mariaP-49

Hi! Sorry for the multiple questions but i have some technical problems.
I have another problem. I tried to translate a section of my theme. It is the room facilities. As you can see only one section with the images translated. In the first section there is the translation but the images don't appear. In this situation what should i do?

May 21, 2024 at 9:09 am #15649027

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

As you can see only one section with the images translated. In the first section there is the translation but the images don't appear. In this situation what should i do?

Can you please add mea specific URL where I can see this? I tried to search for a room, but there was no result. I want to compare the source code of both languages. Thank You!

Best Regards
Marcel

May 21, 2024 at 9:24 am #15649105

mariaP-49

Of course!

hidden link

This is the link with the translated rooms. As you can see comparing with greek language the images don't appearing

May 21, 2024 at 9:55 am #15649479

mariaP-49

hidden link

This is the normal link as you can see the pictures are translated

May 21, 2024 at 10:08 am #15649533

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I receive a 404 error. It seems that posts have not been published yet. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to replicate the issue on a testing site.

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.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Best Regards
Marcel

May 21, 2024 at 2:07 pm #15651156

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

thanks for the access. I changed the "Room Settings -> Layout" to "Top Gallery 1", now it shows the same layout for the images and not only one image: hidden link.

You can set a custom field to "Copy" on hidden link, but I'm not 100% sure which one is used from your theme. I guess it will be "loftocean_room_top_section". This will copy the information to all translated posts.

Best Regards
Marcel

May 21, 2024 at 4:15 pm #15651961

mariaP-49

thank you very much!I did it i change the custom field to copy but didn't change something. Please can you check it?

May 21, 2024 at 4:23 pm #15651966

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

You're welcome! It does not update automatically. The next time the default language is updated, it will automatically copy the field to the translated version.

For now, you must change this manually on all pending translation jobs for rooms or the ones you have finished already.

Best Regards
Marcel

May 21, 2024 at 8:40 pm #15652661

mariaP-49

Thank you! So even if i did the automatic translation i must translate manual all the pages i want to be posted in my website? Can you send me a tutorial?

Also what to you mean with the sentence<< the default language is updated, it will automatically copy the field to the translated version>> sorry i didn't understand the steps.
For know i must translate again manually the pages with the room facilities and i then automatically copy the field to the translated version?

May 21, 2024 at 9:04 pm #15652698

mariaP-49

Also how much time does it take to be ready with the correct images and translation? because until next week the website must be ready

May 21, 2024 at 10:37 pm #15652799

mariaP-49

Also as you can see in the image and facilities section translated twice the same facility. As you can see in the attachment translated from greek to hungarian and from english to hungarian. Normally the English title belongs to photo and shouldn't be translated.

Στιγμιότυπο οθόνης 2024-05-22, 1.34.49 πμ.png
May 22, 2024 at 7:29 am #15654364

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

So even if i did the automatic translation i must translate manual all the pages i want to be posted in my website? Can you send me a tutorial?

Also what to you mean with the sentence<< the default language is updated, it will automatically copy the field to the translated version>> sorry i didn't understand the steps.
For know i must translate again manually the pages with the room facilities and i then automatically copy the field to the translated version?

No, If you use automatic translation, it will copy the content the next time to the translated version. If you change a translation preference of a field, it doesn't update all translations automatically. You need to make a minor change in the default language (adding a space somewhere after a text etc,) as this will force a new update to the secondary language where now the Field of your theme can be copied automatically.

Also how much time does it take to be ready with the correct images and translation? because until next week the website must be ready

If you force a new translation by modifying anything in the default language of a room, it will push the changes to the copy. So that's a matter of some minutes.

Also as you can see in the image and facilities section translated twice the same facility. As you can see in the attachment translated from greek to hungarian and from english to hungarian. Normally the English title belongs to photo and shouldn't be translated.

Then you can change your Custom Field responsible for the image title to "Copy" too, so it will not be shown in the translation editor, it will copy the same title 1:1 directly into the translation.

Best Regards
Marcel

May 22, 2024 at 9:23 am #15656596

mariaP-49

hi! I did in all languages but still nothing changed. As you can see the images don't appear and of course is in copy mode as you told me!

May 22, 2024 at 9:41 am #15656706

mariaP-49

I tried everything but something else is going on