Results 1 to 8 of 8

Thread: Directory structure for multi-lingual php,css,js,ajax site.

Threaded View

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Resolved Directory structure for multi-lingual php,css,js,ajax site.

    I'll be rebuilding my new company's html/flash website, using php, mysql, css, javascript&ajax and reusing a lot of the flash (for now). Also the site will be multi-lingual (english & chinese)

    So right now I am planning a directory structure. Normally this become messed up (I come from asp.net, but same problem appies) after a couple of months if you dont have a clear "plan"

    I got a www folder, in which I create a subfolder for the new website. This is because I might add more sites over the future, and I can have subfolders in www with functionality (like sending an email) in there that can be shared by all sites.

    I dont want to create two versions of the site (one for each language) but rather go with translated constants and chinese in the datbase. However I had SEO indexiing problems before, so i will have 2 homepages (one per language) and the rest of the site work with a single version of each page, getting text values from language files (normal text) and database (database objects like say "provinces")

    I pretty much came up with the basic idea i got in the attached file....

    Was wondering if you guys would mind poking holes in my idea.. :-)
    Attached Files Attached Files
    Last edited by StrangerInBeijing; Nov 12th, 2007 at 03:23 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width