Page 1 of 1

gettext support

Posted: Sat Sep 17, 2005 4:35 am
by oxygenws
Hi :)

i want to know, did you plan to support gettext translation files (.po and .pot)
i think that would be nice to change system to it.

whats your opinion??

regards, omid

Re: gettext support

Posted: Mon Sep 19, 2005 3:43 pm
by garvinhicking
There's a lot of discussion about this on our php-blog-devs mailinglist, please look that up via gmane.org or so.

The bottom line was that we thought gettext to be complicated for our translators and too hard to implement without bringing increased flexibility for our project.

Regards,
Garvin

Posted: Tue Sep 20, 2005 11:17 am
by oxygenws
for others who like to follow posts....

old discussion:
http://thread.gmane.org/gmane.comp.sere ... devel/4619

new discussion:
http://sourceforge.net/mailarchive/mess ... d=10472367

dear Garvin,
should we start the discussion here again?

Posted: Tue Sep 20, 2005 12:13 pm
by garvinhicking
I'm open to any new discussion, but my basic statement has not changed. :-)

Regards,
Garvin

Posted: Wed Sep 21, 2005 1:37 am
by oxygenws
but my basic statement has not changed.
:lol:

i prefer to talk about advantages of gettext-like systems.

==== my opinion as a developer!

== advantages
1- i can see what would print in pages!!
2- ...

== disadvantages
1- when you want to change a string, you must change a lot of strings in language files!! (could developer change only pot file??)
2- ...

==== my opinion as a translator
== advantages
1- i can translate with a lot of windows or linux softwares that can manage po/pot files well (eg. poedit)
2- po files are STANDARD!!!
3- all translators can see the english (most useful language) version of the translated string, so can replace it with a suitable one.
4- translators can see refrences, so they can find where the phrases used (it is useful in translation)
5- it already developed for SMARTY ( http://smarty.incutio.com/?page=SmartyGettext )
6- translators can leave for other translators (eg. fuzzy)
7- separate files for each language (huh, your system is like it :P)
8- ...

== disadvantages
1- some words have different meaning in other languages..... i think gettext doesn't support it (maybe it supports!!)


the above (dis)advantages are those i remember now!!

Posted: Sun Sep 25, 2005 12:51 am
by oxygenws
:roll:

Posted: Mon Sep 26, 2005 1:32 pm
by garvinhicking
I'm sorry, I have no experience with gettext and am currently not playing with the idea to get involved about it.

If you want to make a patch (you can start with a "proof of concept" patch to not do all the work initially), I'd gladly have a look at it. :)

Regards,
Garvin