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

Posted by J.O. Aho on 07/17/06 15:54

Kentor wrote:
> J.O. Aho wrote:
>> 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.
>>
>> You could save the text in include files that has variables for different
>> things, depending on which language you will use, you just include the right
>> file, this way you will not have to keep track on more than one version of
>> your system.

> Yea but the content is all dynamic =/ It's a website to list
> housings/vacation rentals in canada and the us... so the
> cities/neighborhoods listed depend on where you search/post.

Cities/neighborhoods does keep the names in 99% of the cases, sot that won't
be the major problem for your site, even if you always keep the original
languages names for places.


//Aho

 

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

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