I have a Wordpress site that has support for other languages using the gettext
system.
I am curious if I can call content dynamically, let's say from function the_content()
:
printf( __( '%s', 'my-theme' ), the_content() );
I'm guessing this is only possible if I provide the entire string in a .po
file, which would obviously be in-efficient, not to mention that content would always be changing.
But I CAN do this, correct?