Here is my messages.po file
#
msgid "_greet1"
msgstr "Hello"
msgid "_greet2"
msgstr "Bye"
I get this po file compiled to mo file using PO Edit, and when I use the mo file inside translation code, I see msgid of the string instead of msgstr. I am using exactly same code written in PHP documentation for gettext.
Any suggestions...