gettext support

Discussion corner for Developers of Serendipity.
Post Reply
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

gettext support

Post 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
My Blog, powered by s9y is http://oxygenws.com/blog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: gettext support

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post 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?
My Blog, powered by s9y is http://oxygenws.com/blog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I'm open to any new discussion, but my basic statement has not changed. :-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post 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!!
My Blog, powered by s9y is http://oxygenws.com/blog/
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

Post by oxygenws »

:roll:
My Blog, powered by s9y is http://oxygenws.com/blog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply