I wish to localize some text in my child theme.
I followed the instructions here:
https://codex.wordpress.org/Child_Themes#Internationalization
However, I just created empty po files (eg: he.po) and placed them in the languages directory.
When I load my wordpress site (which has a line like __('some text', 'some-child-theme');
in the functions.php file), the po file stays empty (ie: "some text" is not added to it).
What do I need to do in order to have the text in my code added to my languages/he.po file?
I downloaded POedit on my development computer. Do I need to download it on the server that is running my wordpress site as well? And then is there some command where it scrapes my php code for all the translatable strings and generates the po file?
Or, am I just supposed to write the po file by hand?
Thanks.