Title: Avoid updating WordPress-Elementor language file
Last modified: February 23, 2024

---

# Avoid updating WordPress-Elementor language file

 *  [Claude](https://wordpress.org/support/users/xclazac2/)
 * (@xclazac2)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/avoid-updating-wordpress-language-file/)
 * Hi.
 * My WordPress site that I am developing locally is set in Italian on both the 
   backend and frontend. It seems that the Elementor file of the Italian translation(
   which updates automatically) creates problems with the editor (it doesn’t open
   it). I noticed that by removing all the Elementor files from the wp-content >
   language > plugin folder everything goes back to normal and the editor works 
   fine. But, unfortunately, these files tend to continually REGENERATE themselves.
   
   I tried two solutions, the first was to insert the following snippet into the
   function.php file:
 *     ```wp-block-code
       add_filter('auto_update_translation', '__return_false');
       ```
   
 * the second is by trying to insert the following snippet:
 *     ```wp-block-code
       function prevent_plugin_language_file_update($update, $plugin, $language) {
           // Specify the plugin folder name for which you want to prevent language file updates
           $plugin_folder = 'elementor';
   
           // Check if the plugin being updated matches the specified folder name
           if (strpos($plugin, $plugin_folder) !== false) {
               $update = false; // Disable automatic language file updates for the specified plugin
           }
   
           return $update;
       }
       add_filter('auto_update_translation', 'prevent_plugin_language_file_update', 10, 3);
       ```
   
 * Both solutions fail and the Elementor files are regenerated anyway.
 * How can I prevent this from happening?
 * PS: I would add that for me it is not necessary to have the Elementor plugin 
   translated into Italian
 * Thank you
    -  This topic was modified 2 years, 3 months ago by [Claude](https://wordpress.org/support/users/xclazac2/).

The topic ‘Avoid updating WordPress-Elementor language file’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Claude](https://wordpress.org/support/users/xclazac2/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/avoid-updating-wordpress-language-file/)
 * Status: not resolved