Results 1 to 4 of 4

Thread: Language selection in a good looking pop-up window

  1. #1
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Language selection in a good looking pop-up window

    Hello, i am quite novice in the css and php-area.

    what i want to achive is to let my visitor have an option when they log on to my site:

    Language selection Swedish or English, in a pop up window.

    When the option is made, i want to output the right language selection.

    What PHP-code do I need to do this?

    if (english choice is made)
    { this text is going to be output}
    else
    {i want this text}

    PS: Any good suggestion for nice pop-up "in-window" plug-in. Such as fancybox etc.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Here's a recent discussion on this topic:
    http://www.dynamicdrive.com/forums/s...ad.php?t=66871

    Do you have any specific questions? Do you want to translate the entire website or just one message? If it is just one message, that's much simpler (just a basic "if" statement).

    As for boxes, here's a recent discussion about that too:
    http://www.dynamicdrive.com/forums/s...ad.php?t=66939
    As a short reply to that, there are many good options out there, so it really depends on what you like working with-- there isn't one "best" box.
    (In the future, please do a basic search before asking a new question, since a lot of questions have already been answered here.)
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jan 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your answer, as a newbie I am not sure of the names and such. Therefore it kinda hard to use the search function...

    I will more into it!

    I want to translate the whole website, not one a single message

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Ok. Read the information in the other discussion, and let us know if you have any specific questions.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •