Re: suggestion needed



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


.



Relevant Pages

  • Re: suggestion needed
    ... duplicate all the files and move them into a new folder and translate ... all the content but then if I decide to modify anything, ... The development of the website will continue ... done everything to translate the pages to another language. ...
    (alt.php)
  • Re: Can anyone translate English to Aramaic?
    ... But not the English language generally. ... post the translation at least into Hebrew ... write it in French or German and I'll translate it into English. ... You wear your vast erudition with consummate grace, Mr. Peter T. Daniels. ...
    (sci.lang)
  • Re: Can anyone translate English to Aramaic?
    ... But not the English language generally. ... write it in French or German and I'll translate it into English. ... I can see why Dan ... The people in the movie who don't speak Aramaic speak "Latin." ...
    (sci.lang)
  • Re: The phrase =?ISO-8859-1?Q?=22T=E1im_ar_do_thaobh=22?=
    ... Carpenter, Wainright etc. - it, the language, has existed here, pre- ... culture suited to these islands. ... Taim ciallmhar would translate as 'I exist being intelligent' - 'I ... Christian invaders translated Irish into writing they were very aware ...
    (soc.culture.irish)
  • Re: suggestion needed
    ... duplicate all the files and move them into a new folder and translate ... all the content but then if I decide to modify anything, ... The development of the website will continue ... done everything to translate the pages to another language. ...
    (alt.php)