Trying to localize a Underscores starter theme [duplicate]

Please note how the translation works: The Text Domain should be same in all the places of your theme.

On this page you can see the Theme’s text domain setup:

load_theme_textdomain( '_s', get_template_directory() . '/languages' );

And on this page (and many in this theme), you can see the implementation of the Text Domain:

_e( 'Nothing Found', '_s' );

In both the cases the Text Domain is _s. If you change the Theme Text Domain in functions.php then you have to change them in all the other places in your theme. An easier way to do this is to search for a quoted keyword like '_s' and replace it with your desired quoted keyword 'larehev_he' in all the files of the theme.

Note: there’s another place (style.css) where the Text Domain is mentioned:

Text Domain: _s

Make changes there too. So then it should work. 🙂