Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
po/mo translations?
#3
For starters, it's easier to update those files. Developers update the .pot file (main translation file) and the translator opens his/her xx_XX.po file and loads the .pot file and the new entries show up immediately. The way we use, the updates would be WAY harder.

Plus, there are software like poEdit which can edit translation files so easily that we don't even need to use a mouse Smile. It may seem unimportant but with my experience I can say that I can translate a .po file twice as fast as the .php file we work with currently.

And another thing, we can use functions in the core files. For example, if tr_TR.php does not have the line where $i18n['TOTAL_FILES'], there would be nothing in the place that phrase is used (upload.php). With po/mo stuff, you just write the function <?php __('total files'); ?> and if tr_TR.po does not have a "total files" entry, it shows "total files" so there's at least the English description in upload.php.

It's a little bit hard for me to explain it in English. The page below is a nice & small article about the advantages of this system:

http://www.gnu.org/software/trans-coord/...tages.html

And other articles:

http://www.google.com.tr/search?q=GNU+gettext
Reply


Messages In This Thread
po/mo translations? - by baris - 2010-03-09, 05:09:11
po/mo translations? - by Zegnåt - 2010-03-09, 05:42:00
po/mo translations? - by baris - 2010-03-09, 07:27:04
po/mo translations? - by hameau - 2011-03-22, 22:00:30
po/mo translations? - by ccagle8 - 2011-03-22, 22:35:48
po/mo translations? - by Connie - 2011-03-23, 04:38:46
po/mo translations? - by mvlcek - 2011-03-24, 04:33:16
po/mo translations? - by polyfragmented - 2011-03-24, 04:40:30
po/mo translations? - by Joshas - 2011-03-24, 04:50:26
po/mo translations? - by ccagle8 - 2011-03-24, 04:58:05
po/mo translations? - by mvlcek - 2011-03-24, 05:08:14
po/mo translations? - by Joshas - 2011-03-24, 06:08:53
po/mo translations? - by hameau - 2011-03-24, 06:12:35
po/mo translations? - by mvlcek - 2011-03-24, 07:08:19
po/mo translations? - by yojoe - 2011-03-24, 07:12:37
po/mo translations? - by ccagle8 - 2011-03-24, 10:28:33
po/mo translations? - by mvlcek - 2011-03-25, 05:30:05
po/mo translations? - by hameau - 2011-03-25, 05:59:27
po/mo translations? - by mvlcek - 2011-03-25, 07:01:34
po/mo translations? - by yojoe - 2011-03-25, 08:28:13
po/mo translations? - by hameau - 2011-03-25, 18:11:04
po/mo translations? - by mvlcek - 2011-03-25, 18:19:55
po/mo translations? - by hameau - 2011-03-25, 18:28:31



Users browsing this thread: 1 Guest(s)