I hope I understood your question correctly. You are correct in using _e()
to echo a string. Your syntax use is wrong though. Never ever use "
to enclose a translatable string, the translator does not recognise it, so your string is skipped/ignored.
The correct way is to use '
. So your string should look something like this _e( 'string to be translated', 'domainname' );
Note that domainname
is optional, so using _e( 'string to be translated' );
is also correct.
You can go and read more about translating your theme in this great tutorial. http://code.tutsplus.com/tutorials/translating-your-theme--wp-25014