From: Hani N. <ha...@na...> - 2004-09-08 14:06:30
|
skaill wrote: >When using the built in gettext you cannot have variables interpolated >within strings. Therefore I would still suggest not to do it or you are >relying on the software version always. I do believe the software version >should be included though for those who cannot have it installed. It also >sounds easy enough to include it and you're saying it's stable. > > Using the script will give you the ability of having variables interpolated, so I would suggest using it. If you have gettext it will use it AND give you variable interpolation, if you dont it will still work. This is a tiny 18k script I dont see why you would not want to use it. To me it boils down to this; If you are going to use gettext then you should use this script if you are going to use a db approach do it in a way that allows you to use gettext tools such as xgettext. I would go further and say in a db approach you should be able to give translators .po and .pot files which they can use in a proper translation oriented editor. That might mean creating a few scripts that populate/merge/update the db given .po files. Having said that I think the db version is overkill. |