Title: Language problem
Last modified: April 15, 2020

---

# Language problem

 *  [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/)
 * Hi.
    I upload updated SPANISH version in wp-content/themes/languages and I delete
   original .PO and .MO files from virtue/languages folder.
 * After a short time, packed version of SPANISH language is reverted automatically
   in site, so I need to re-upload.
    How can I make PERMANENTLY my updated language
   files in main theme and any child?
    -  This topic was modified 6 years, 1 month ago by [Dani](https://wordpress.org/support/users/danicasati/).
    -  This topic was modified 6 years, 1 month ago by [Dani](https://wordpress.org/support/users/danicasati/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/#post-12683962)
 * Hey,
    Were you making these changes in a parent theme or child? Your edits would
   not be saved with updates in a parent theme, which is the purpose of a child 
   theme. Let me know if you need help getting a child theme going!
 * Hannah
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/#post-12684167)
 * If I upload to a child, translation doesn’t work.
    I uploaded to WP-CONTENT/LANGUAGES/
   THEMES folder, but original translation is reverted automatically, so I need 
   to re-upload my translation everytime.
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/#post-12686526)
 * Why default translation is restored automatically in WP-CONTENT/LANGUAGES/THEMES
   folder?
    It’s very annoying to check continuosly and re-upload my own translation.
 * _[ [Please do not bump.](https://wordpress.org/support/guidelines/#do-not-bump-posts)]_
    -  This reply was modified 6 years, 1 month ago by [Dani](https://wordpress.org/support/users/danicasati/).
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/#post-12690807)
 * Hey,
    I suggest you use a child theme, You just need to add this function to 
   your child theme functions file to make it work.
 *     ```
       function child_theme_slug_setup() {
           load_child_theme_textdomain( 'virtue', get_stylesheet_directory() . '/languages' );
       }
       add_action( 'after_setup_theme', 'child_theme_slug_setup', 20 );
       ```
   
 * I hope that helps!
 * Ben
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/#post-12691030)
 * Actually, I’m using child theme.
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/#post-12691091)
 * Hey [@danicasati](https://wordpress.org/support/users/danicasati/),
    Glad you’re
   using a child theme. Did you add the function that Ben gave?
 * Hannah
 *  Thread Starter [Dani](https://wordpress.org/support/users/danicasati/)
 * (@danicasati)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/#post-12691618)
 * I’ll try it tomorrow.
    Please, stay tuned.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Language problem’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Dani](https://wordpress.org/support/users/danicasati/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/language-problem-69/#post-12691618)
 * Status: not resolved