Hi,
Thanks! I followed the translation guide. After uploading the translated .mo file to the child-theme (created a new folder called “languages” and updated the php) my admin console won’t open up (I get a 404).
I think the problem is in the code I put in the php. After removing the extra code the website came back up, so I am sure that is the problem, and I think I know what’s wrong: I didn’t adjust the code to my own website, because I’m am not sure how to do that. Could you guide me? What should I put in?
add_action( ‘after_setup_theme’, ‘load_child_language’ );
function load_child_language() {
load_child_theme_textdomain( ‘x’, get_stylesheet_directory() . ‘/languages’ );
The language file I created is called he_IL
The child theme is called x-child
The language file is located under public_html/wp-content/themes/x-child/framework/Languages
And where should I paste it in the framework php?
Thanks!