Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Working with different languages (English, Spanish, ...)

    I'm curious. How do you organize things when you have to create a multi-lingual site?. I always find it very annoying, and I wonder if somebody has a better method than the one that I've been using for years:

    -Create the layout (Fireworks)
    -and add a layer for every language (or sometimes a frame)

    -Create the HTML pages for one language
    -Replicate the same structure for every language:

    rootfolder (with index.htm that points to the main language folder)
    /Global_images
    /es
    es/images
    /eng
    eng/images

    -Translate HTML
    -export images to the appropriate folder.
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #2
    New Coder
    Join Date
    Oct 2002
    Location
    || Canada ||
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I work for the government, so we have to work with different languages as well.
    However, our file structure is fairly basic for good reasons. Mostly keeping things uncomplicated and easily manageable and accessible to everyone (both inside and outside visitors).

    i.e.
    We use the same template for both French and English pages which a simple "Francais" / "English" hyperlink found on each page.
    Files are stored in their respected "English" or "Francais" folders and the file names are the same except adding _e or _f for each.

    However, we have recently started using ASP for a language switch script. But the only difference, is the hyperlinks to switch between the pages is an include verse hard coding.
    Using a language detect script to help your viewers see the pages they want in the language they want, might be a good idea though.

    I don't really think there's much you can do beside that...
    But hey, I could be wrong

    Good luck

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    262
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Languages

    Tres bon undyingfires.

    Yes, create a set of pages for each language and have a link for each somewhere visible on the page - top perhaps. Use flags and country names as the links if your languages are many. Also, start the site in the language of your country. People will see the page and look (hopefully) for a flag or something they will recognise.

    The lesson here is keeping it simple for you and the user.

    Not a perfect example I know but see here - http://www.sbm.no/ the english link is on the top of the page but the information is limited for an enlgish speaker.
    Therapy is expensive, popping bubble wrap is cheap, you choose.

  • #4
    New Coder
    Join Date
    Oct 2002
    Location
    || Canada ||
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you-know.. I like that flag idea

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I usa a JavaScript code to detect the OS's language settings, but it still has to redirect to a different page with the language...

    http://www.angelfire.com/mo2/cbch21/IFRAMES/index.html

    BTW: the translations may not be correct (Chinese/Japanese), fyi.
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #6
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, creating flags / buttons / links to change language it's the last step; What I find terribly boring and annoying is the copy / translate / distribute process. I think that programs (Macromedia in my case) would have to include some options to manage translations in a easy and intuitive way.... maybe it's just that I'm a bit lazy
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #7
    Senior Coder joh6nn's Avatar
    Join Date
    Jun 2002
    Location
    72° W. 48' 57" , 41° N. 32' 04"
    Posts
    1,887
    Thanks
    0
    Thanked 1 Time in 1 Post
    if i were going to set up a site in multiple languages, i'd do all the translating server side. set up a couple of page templates, and use a server side language to read the http headers, see what the browser's default language settings are, grab the appropriate txt file, insert it's contents into the templates, and serve that up. if you have pictures, with text on them that needs translating, i suggest using php, and just uploading the pictures with no text at all; php, as i understand it, can add text to pictures on the fly.

    just my two cents.
    bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

    i am a loser geek, crazy with an evil streak,
    yes i do believe there is a violent thing inside of me.


  •  

    Posting Permissions

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