Results 1 to 2 of 2

Thread: mulitlingual website in flash - Help!?

  1. #1
    Join Date
    Mar 2008
    Posts
    46
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default mulitlingual website in flash - Help!?

    Hello!
    Our client has asked for a website that has 6 different language options.
    My boss has decided to build in flash (12 pages, mostly photos with captions and information) and wants me to figure out the best way to switch languages. Anyone have an idea on where I can learn how to do this?

    I am unclear on the terminology to describe what it is that we want to do.
    Seems like something fairly easy to do in CSS, but not sure how to even begin or look for information in flash.

    I assume there is a better option than building 6 different sites in flash.
    Thanks in advance for any advice!

    Zack

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    I don't know how you would create a multilingual site with CSS. Do you mind explaining that bit?

    The route I would take for a such a project might depend on the client's technical knowledge and requirement to edit the site once up.

    In brief though, you should use XML. It's easy, portable and flexible. Ideally, you should have a dedicated UI/CMS to edit the XML, but that's not necessary. Using images with captions as an example, you could use an XML structure like so:

    Code:
    <gallery>
      <item>
         <photo>photo.jpg</photo>
         <en>A picture of my dog.</en>
         <fr>Une photo de mon chien.</fr>
         <gr>Ein Bild von meinem Hund.</gr>
         <sp>Una foto de mi perro.</sp>
      </item>
    </gallery>
    From there, use dynamic ActionScript to draw which language you want to show. The easiest way is to send a FlashVars of which language to show. You could pass this via JS or PHP.

    www.gotoandlearn.com has some Flash + XML tutorials if you need help with that.

  3. The Following User Says Thank You to Medyman For This Useful Post:

    zeech26 (02-18-2009)

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
  •