SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    SitePoint Member
    Join Date
    Mar 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help re: bilingual website file structure

    Hi everybody,

    I'm in the process of setting up a personal website both in English and French. I'm fluent in both languages; therefore, I will do the translation.

    The plan is to have a splash page in which people will have the option to view the site in English or French. Beyond this, I have a good idea as to what the content will be and what the site will look like. I use DW 8 to build the whole thing.

    My question is: besides the splash page (index.htm) how should I organize the files structure? Should I use two separate folders (one for English files and the other one for French files) or, put all files, both English and French, into the same folder?

    I hope it makes sense.

    Your feedback would be greatly appreciated.

    Thank you!
    Last edited by gastoni; Oct 12, 2008 at 13:28. Reason: spelling

  2. #2
    SitePoint Wizard
    Join Date
    Jul 2003
    Location
    Kent
    Posts
    1,921
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Like this

    root folder - contains index.htm, your splash page offering multiple languages
    then inside that folder are two other folders
    /english - contains the site in english
    and
    /french - contains the site in french

    difficult decision, eh? the folder name will appear in the url, so if google indexes one language's files and only some of the other, the url mysite.com/french/bonjour.htm hints that there's one called mysite.com/english/welcome.htm

  3. #3
    SitePoint Member
    Join Date
    Mar 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the feedback,

    it's not a difficult decision; I only want to make sure that it's the right one.

  4. #4
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd personally use subdomains instead of directories here. Either that or just create two distinct sites, one in French and the other in English, and link to them appropriately.

  5. #5
    SitePoint Wizard bronze trophy Black Max's Avatar
    Join Date
    Apr 2007
    Posts
    4,029
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dan Schulz View Post
    I'd personally use subdomains instead of directories here. Either that or just create two distinct sites, one in French and the other in English, and link to them appropriately.
    Agreed.

    Minor question: why the .htm ending instead of .html?

  6. #6
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Probably personal preference. Really doesn't mean anything these days, unlike the days of Windows 3.1 (shudders).

  7. #7
    SitePoint Wizard bronze trophy Black Max's Avatar
    Join Date
    Apr 2007
    Posts
    4,029
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dan Schulz View Post
    Probably personal preference. Really doesn't mean anything these days, unlike the days of Windows 3.1 (shudders).
    Oh come on. You don't miss the Task Manager? The little boxes of icons?

  8. #8
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nope.

  9. #9
    SitePoint Member
    Join Date
    Mar 2008
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Subdomains it is then! I've created a fr.domain.ca and a en.domain.ca and both will be accessible via a splash page (index.htm).

    Seems like the best way to go. At first, I was thinking that I would just mirror the content from English to French, making it identical, save for the language. Now, I've decided that they will be tailored specifically for each language and will be built almost as separate entities.

    I built a few basic websites over the years but never really finished them. I was only having fun playing around with graphics, flash, java applets, etc. One thing I remember was the clutter of folders and files and maybe it was one of the only aspects of web design that turned me off. I don't want to make this mistake again and would like to start on the right foot.

    I'm setting up a simple website to reflect both, my personal and professional interests. My resume, experience, travels, etc. etc.

    Anyway, thank you all for the feedback and you'll probably hear about me again soon

  10. #10
    #titanic {float:none} silver trophy
    molona's Avatar
    Join Date
    Feb 2005
    Location
    from Madrid to Heaven
    Posts
    8,271
    Mentioned
    252 Post(s)
    Tagged
    1 Thread(s)
    I feel like I should know this... but why subdomains instead of directories?

  11. #11
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Personal preference.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •