You are here: Language file, Best practice « PHP Programming Language « IT news, forums, messages
Language file, Best practice

Posted by FFMG on 04/23/07 06:05

Hi,

I would like to add international support for my site to allow some of
my users to translate the site if they really feel the urge to do it.

I don't use any CMS, the site was developed, (and refined :)), by me.
But I see that various CMSs handle languages very differently.
Joomla! for example has a smallish define file that has all the
translations.
Wordress on the other hand seems to have a function __(...) that is
altogether a lot more complicated but also more flexible.

But I am not sure that the Joomela! approach is the best, defining what
could become a rather big language file seems a bit silly to me, (well
in my case it seems to be). And there does not seem to be any naming
convention of all those defines, that could spell<sic> trouble.

So, what is the best way, so far, of handling languages?

FFMG?


--

'webmaster forum' (http://www.httppoint.com) | 'webmaster Directory'
(http://www.webhostshunter.com/) | 'Recreation Vehicle insurance'
(http://www.insurance-owl.com/other/car_rec.php)
'Free URL redirection service' (http://urlkick.com/)
------------------------------------------------------------------------
FFMG's Profile: http://www.httppoint.com/member.php?userid=580
View this thread: http://www.httppoint.com/showthread.php?t=14085

Message Posted via the webmaster forum http://www.httppoint.com, (Ad revenue sharing).

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация