you may use this below code for your problem: [1]: https://i.stack.imgur.com/5aX1D.png
or use below code:
add_action( 'after_setup_theme', function () { load_theme_textdomain( 'your parent theme name', get_stylesheet_directory() . '/languages/' ); load_child_theme_textdomain( 'your child theme name', get_stylesheet_directory() . '/languages' ); } );
Related Posts:
- Localization: Textdomain of Child teme
- Generate PO File
- Localize strings for translation
- Activate Child Theme .mo and .po files
- Translated words not showing child theme
- Adding translation files to a child theme
- How to cache bust a child theme style.css
- How to get a translated string from a language other than the current one?
- How to modify single.php in a child theme?
- @package & @subpackage: how to use with child themes
- How to override function in child theme
- Theme Customization API and child themes
- Git vs Child Theme
- Give priority to child theme stylesheet
- Get Parent Theme Author Name
- Get parent theme version
- How to transfer changes to a child theme?
- WordPress master + child themes + Git workflow
- something like is_childtheme()
- Child theme showing a blank page
- Child theme preview missing
- How could child theme be different than parent theme if I haven’t made changes?
- Child Theme, Functions.php Issues
- Redefining function in child themes
- How to disable updates in WordPress theme
- Child theme error “Template is missing”
- Dequeue only stylesheets but not inline style added using wp_add_inline_style
- replace parent theme images in child theme
- Recommended way to load / enqueue parent and child stylesheet to enable cache busting
- Altered media sizes (in dash), not updating to existing images/posts
- How do I make wp_localize_script variables available for child theme?
- WordPress theme with frontend in different language than backend?
- WP .js script file not loading
- How to install bootstrap in child theme
- Child Theme vs. Jetpack Editor
- Cannot dequeue script in child theme
- Child theme style.css isn’t overwriting parent style.css
- Linking to Child Theme PHP Files
- Use child theme on certain pages and not others?
- WordPress Bootstrap Problem
- Child Theme disable customizer defaults
- Override file inside inc in child theme
- Add custom function to child function.php
- Child theme problem
- Undefined functions on the server
- Child Themes of Non-WordPress Sanctioned Templates
- How do WP child-themes work? [closed]
- Child themes, over riding in the parents theme
- All Titles and Menus changed to “CHILD THEME LOADED”
- ‘Recent Posts’ links open in new window, without copying the ‘WP_Widget_Recent_Posts’ class
- Best method to add style sheets into child theme?
- javascript not being enqueued correctly
- Override post-formats in child theme
- What is the correct workflow for modifying child themes?
- styles from child theme not loaded for file other than style.css
- Child Theme Variables
- Multiple Child Themes
- How to install Bootstrap in a WordPress child theme
- Is there any way to put the Google Tag manager Identification code into the child theme?
- Getting an error. Need to add favicon in my child theme functions.php. What’s wrong?
- Fatal error and use of undefined constant in child theme unless I redefine it
- Trouble translating a Child Theme
- Child Theme over write rules
- Child Theme Customizer not working
- Customize file on inc folder on child theme
- wp_enqueue wont work on some files?
- Set a link in child theme style.css to jump to #main [closed]
- WordPress + Child Theme = Am I missing something?
- How to make a child theme independent of parent?
- Sliding-Doors Child Theme
- WordPress Child Theme – twentyeleven
- Show excerpt and not full post in Twenty Seventeen
- Reenable disabled Elementor widget via child theme
- Child theme is not rendering parent and own javascripts (but css loaded properly, js not)
- Remember language choice on multisite website
- Copy files from main to child theme (after designing website)
- How to stop customizer settings inheritance from parent to child theme?
- Making a child theme in order to update the parent theme
- change html and css in template files in child theme
- My wordpress site is crash due to excute child theme
- Twenty Seventeen – Navigation bar, logo, header size
- Enqueuing multiple stylesheets with a child theme
- using a child theme, after enqueing my js file it is loading before jquery
- Deregister wordpress script in child theme by js location
- How can I load child theme stylesheet with cache busting string and remove same stylesheet loaded by parent theme?
- Need help installing Hoffman child theme
- is it ok to dequeue default parent stylesheet from custom page templates in child theme?
- GUID to related post not in current language
- Why won’t my Custom CSS Load
- child theme performance / avoid import and minify JS files
- Remove HTML from search.php of my parent theme
- What the mean about ‘child theme’?
- Child theme template value for style.css for parent in different folder
- Prevent child theme from inheriting a parent theme’s required file
- About wordpress child themes
- Body classes in child theme
- Edit copyright in Hesita Child Theme
- melville and its child theme
- Can anyone help me with replace genesis post excerpt with yoast meta description and if there is no meta description show the excerpt?
- Child theme css not loading when declared in parent functions