You are here: Re: suggestion needed « All PHP « IT news, forums, messages
Re: suggestion needed

Posted by Rik on 07/17/06 16:13

Kentor wrote:
> Hello, I have a website which is in english at the moment. I want to
> translate it to another language but i'm not sure what would be the
> best way to approach this problem. The website is still in
> development, therefore the actual code of each page may be modified.
> I could simply duplicate all the files and move them into a new
> folder and translate all the content but then if I decide to modify
> anything, i would have to modify 2 files everytime making sure that
> each modification is exactly the same in both files. This may become
> quite confusing if the modifications are large. The development of
> the website will continue for quite a while which is the reason why i
> dont want to wait untill im done everything to translate the pages to
> another language. Any suggestions will be appreciated.
> -Simon

If you want to seriously build this, keep it dynamic and make it possible to
add other languages along the way, check out gettext:
http://nl2.php.net/manual/en/ref.gettext.php
http://www.gnu.org/software/gettext/manual/gettext.html

It will certainly help in keeping track of translations, and depending on
your setup you translators will have an easy job translating required text.

Maybe you could also check out this:
http://savannah.nongnu.org/projects/php-gettext/

Grtz,
--
Rik Wasmus

 

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

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