Sauter la navigation

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Sun Mon Tue Wed Thu Fri Sat
- 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 8:00 – 12:00 6:00 – 12:00 -
- 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 13:00 – 17:00 13:00 – 15:00 -

Fuseau horaire du supporter: America/Lima (GMT-05:00)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Nicolas V. Il y a 1 année et 10 mois.

Assisté par: Nicolas V..

Auteur Articles
juin 15, 2023 at 10:09 am #13831297

romainC-9

Hello, I'm using Lottie files (JSON files) on my Elementor website.

My original page is in German and I'd like to translate it into English. I've been able to translate all the text, but I'm having trouble translating the JSON media (lottie file).

I have translated the JSON media in the "Media translation" tab, but the JSON media is not translated at the front. I see the same lottie file on both the German and English pages.

I'm using "Advanced Translation Editor" mode

lottie wpml 1.jpg
lottie wpml 2.jpg
juin 15, 2023 at 7:41 pm #13835205

Nicolas V.
Supporter

Les langues: Anglais (English ) Français (Français )

Fuseau horaire: America/Lima (GMT-05:00)

Hello,

Welcome to the WPML support forum. Let's start by meeting WPML's minimum requirements. I've noticed your website has a low PHP memory allocation (40M). The minimum requirements for WPML is 128M but we recommend 256M:
- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

/* Memory Limit */
define( 'WP_MEMORY_LIMIT', '256M' );

More info: https://wpml.org/home/minimum-requirements/

---

Now regarding your question, I did a quick search on internet and from what I understand the image file is replaced by a JSON correct? I'm not sure that Media translation was the best place to translate that file.

Can you explain me how do you insert it in your Elementor page? Here it seems that the image is not inside the content but as a background for an Elementor Element no?
I'm not sure you will be able to translate a custom CSS from an Element.

We have a tutorial to register custom Elements to translation: https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/
But I don't think it's the case here. I think it's a default Elementor element with a custom CSS.

Maybe if you give provide me with a temporary admin access (wp-admin and FTP) to this dev site, 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.

The topic ‘[Fermé] Lotties files (JSON) using in Elementor are not translated’ is closed to new replies.