December 16th, 2012, 11:25 AM
Help with gettext in php?
I have been trying for days now to figure out to get this to work, i have been following multiple tutoials online and none of them seem to work, i have tried these:
Does anyone know where i can find an example/demo of this that is working so i can download it and then understand it by watching a full working code instead of following a tutorial?
and i have tried phpinfo(); and it says
GetText Support: enabled
December 16th, 2012, 09:15 PM
I messed around with that first tutorial for a few minutes but I wasn't able to get it to work either.
I recommend just rolling your own solution, gettext really doesn't do all that much for you.
December 17th, 2012, 05:34 AM
do you have any ideas on what i could use, i want to be able to let contribures to translate it for me on sites like launchpad.net or poeditor.com
Originally Posted by E-Oreo
December 17th, 2012, 05:40 AM
You might want to have a look in popular cms systems like Joomla. They use language files which can be easily altered by dedicated users. Just download Joomla and look at the folder /language
Originally Posted by jeggy
It works pretty much the same as the tutorial you linked apart from the gettext()