Re: suggestion needed




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.


//Aho

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.

.



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: 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: Free site translations
    ... > translate from english to italian (my mother language) YOUR website ... > your mother language MY website. ...
    (comp.lang.php)
  • suggestion needed
    ... I have a website which is in english at the moment. ... duplicate all the files and move them into a new folder and translate ... all the content but then if I decide to modify anything, ... done everything to translate the pages to another language. ...
    (alt.php)
  • 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)