I'm running into a strange problem using gettext, I have two
print(_("foo"));
lines inside a complex page which generates a site, one is transalted and the other is not.
I want to know if you someone can send me some tips about what might be going wrong, I use output buffering and it doesn't look guilty, functions generating content can use the environment variable ok?
I have at the beginiing:
putenv ("LC_ALL=es");
// Specify location of translation tables
bindtextdomain ("messages", "./locale");
// Choose domain
textdomain ("messages");
// Print a test message
Thanks for your help