SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Guru whisher's Avatar
    Join Date
    May 2006
    Location
    Kakiland
    Posts
    732
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Static site multilanguage

    Hi.
    I'm wondering what's the better way to
    manage with a multilanguage site.
    My idea up to now:
    1)
    index.html (default)
    index_it.html
    index_fr.html
    the other sections
    products.html
    prodotti.html
    produits.html

    or similia

    2)
    /index.html (default)
    /it/index.html
    /fr/index.html
    the other sections
    /products.html (default)
    /it/products.html
    /fr/products.html

    I like most the latter but I'd to know your opinion.

    Bye.

  2. #2
    SitePoint Member zeng's Avatar
    Join Date
    Oct 2009
    Location
    china tianji
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    a same option

  3. #3
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    I would organize them using the second list, at least that way you can group all your language files together, plus it's the convention to organize in this method rather than confusing the filename structure of your individual pages, you could always user htaccess mod rewrites to work around it though

  4. #4
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2006
    Location
    Augusta, Georgia, United States
    Posts
    4,194
    Mentioned
    17 Post(s)
    Tagged
    5 Thread(s)
    I would use a cloned directory structure.
    • www
      • English
        • index.html
        • products.html
        • product.html
      • Spanish
        • index.html
        • products.html
        • product.html
      • French
        • index.html
        • products.html
        • product.html


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
  •