I’m wondering if it’s possible to use the .po / .mo files in the child theme because every time Neighborhood gets an update, I have to remember to edit the language again. I tried searching but I couldn’t find anything I could easily understand. Thank you!
Hi,
Please copy and paste language directory from parent theme to child theme and it should work fine . It would be best to send us the files, then we can include them in the next update .
Thank you. I’ll copy to the child theme. I’m unclear on why you would want my files. (?) Maybe not everyone would want the changes I have made… can you explain?
This did not work, by the way. I had to write over the actual theme files in the language folder. Putting another language folder under my child theme did nothing.
My changes are not another language. I’m simply trying to resolve the inconsistencies of use of the word “cart” and “bag”. It seems the theme uses “shopping bag” and WooCommerce uses “shopping cart”. It feels unprofessional to me to have that inconsistency on my site. Therefore, I’ve translated all of the instances of “bag” to “cart”. ๐
So regarding the child theme thing, is there something more I must do beyond simply putting the language folder in the child theme directory? Maybe do something in the config.sys or something like that? I’m not very well versed in the inner workings of WordPress.
I already did that (see comments above) and it did not work. I was only able to see the changes after I copied my edited files into the Neighborhood directory. It did NOT work when I put the language folder in the child theme directory without editing the ones in the Neighborhood directory as well. ๐
Please put this code functions.php at child theme
load_theme_textdomain(‘swiftframework’, get_stylesheet_directory_uri().’/language’);
Hope that helps.