There are 3 ways for you to avoid losing changes in edited language file:
1. You can move all language files to wp-content
– The language file of Theme: ../wp-content/languages/themes
– The language file of Plugin: ../wp-content/languages/plugins
2. To avoid losing the edited files after you update the new version, we recommend that you should install childtheme and move all language files to wp-content/themes/noo- theme_name – child/ languages. Remember to add the following codes to functions.php file in childtheme:
add_action( 'after_setup_theme', 'my_child_theme_setup' );
function my_child_theme_setup() {
load_child_theme_textdomain( 'noo', get_stylesheet_directory() . '/languages' );
}
For example, as for Jobmonster and citilights theme, you will have noo-jobmonster-child and noo-citilights-child relatively.
Learn more about child theme: How to install childtheme
Learn more about translating with Poedit software: Translate and Modify Texts With Using Poedit
3. The safest method is that you save all language files on your computer. After the update, in case you lose files, you will be able to upload them again via FTP.