Hello/welcome Message Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hello/welcome Message Script

    Hi there ive already searched web for such script but couldnt find anything.

    So im going to create one wich should show Hello/Wellcome in different languages, for this i need your help, please post here the hello/welcome message in other country languages you know.

    I have attached the script example

    Russian and Ukrainian is UTF-8 code
    Attached Files
    Advertise your mobile site for FREE with AdTwirl


    #2
    hello - pozdrav

    welcome - dobrodošli


    its Croatian
    sigpiceeeeerrr....

    Comment


      #3
      hello - pozdrav
      welcome - dobrodošli
      its Croatian[/b]
      Thanks, i have upgraded it with few more languages

      Usage:

      Code:
      function get_hello($country_code)
              {
      include("welcome.php");
      $hello_mess=$countries[$country_code][0];
      return $hello_mess;
      }
      Code:
      function get_welcome($country_code)
              {
      include("welcome.php");
      $welcome_mess=$countries[$country_code][1];
      return $welcome_mess;
      }
      Code:
      echo get_hello("UA");
      
      echo get_welcome("ES");
      Advertise your mobile site for FREE with AdTwirl

      Comment


        #4
        spanish is hola not ola, its portuguese that is ola and welcome is bemvindo in portuguese

        Comment


          #5
          slovenian
          english

          hello:
          zdravo (usage: general, mostly between younger ppl/singular&plural)
          or you can also use:
          pozdravljeni (usage: general, with a bit more respect than zdravo/singular&plural)
          pozdravljen (usage for male/singular)
          pozdravljena (usage for female/singular)



          welcome:
          dobrodošli (usage: general/singular&plural)
          dobrodošel (usage for male/singular)
          dobrodošla (usage for female/singular)


          It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
          ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
          ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
          キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

          Comment


            #6
            slovenian
            english

            hello:
            zdravo (usage: general, mostly between younger ppl/singular&plural)
            or you can also use:
            pozdravljeni (usage: general, with a bit more respect than zdravo/singular&plural)
            pozdravljen (usage for male/singular)
            pozdravljena (usage for female/singular)
            welcome:
            dobrodošli (usage: general/singular&plural)
            dobrodošel (usage for male/singular)
            dobrodošla (usage for female/singular)
            [/b]
            lol bro thts so true, but how will script knw if ur male or female? lol only if the script is mod5 into sum site whr user have account....
            sigpiceeeeerrr....

            Comment


              #7
              Code:
              <?
              $countries=Array(
              "DE" => array("Hallo","Herzlich willkommen"),
              "GB" => array("Hello","Welcome"),
              "RU" => array("Привет","Добро пожаловать"),
              "UA" => array("Вітаємо","Ласкаво просим"),
              "HR" => array("Pozdrav","Dobrodo&#X161;li"),
              "CZ" => array("Vitejte","Vitame Vas"),
              "FR" => array("Bonjour","Bienvenue"),
              "IE" => array("Failte romhat","Cead Mile Failte"),
              "IT" => array("Ciao","Benvenuto"),
              "NL" => array("","Welkom"),
              "MY" => array("","Selamat Datang"),
              "PT" => array("Ola","Muito Bem Vindo"),
              "RO" => array("","Multumesc"),
              "GR" => array("and Kalos ilthes","Kalos ilthate"),
              "ES" => array("Ola","Bienvenido"),
              );
              ?>
              "RO" => array("Salut", "Bun Venit"), not "RO" => array("","Multumesc"),

              Comment


                #8
                lol you should check these out!!
                it might be a bit of work to get it all into the format you need it lol ... unless of course you put it all into a database .. ?
                i mean, create a script that uses preg_replace (or similar) to format it into CSV layout .. ? then upload that into a database and use a different php script to display what you need in .txt format which you can copy paste lol

                ... i doubt that made any sense but yeah .. i hope this is of some use

                http://www.elite.net/~runner/jennifers/
                Greetings ("hello") in more than 800 languages
                "Thank you" in more than 500 languages
                "Goodbye" in more than 450 languages
                "How are you?" in more than 425 languages
                "What is your name?" in more than 330 languages
                "My name is..." in more than 275 languages
                "Welcome" in more than 325 languages
                "Good morning" in more than 250 languages
                "Good afternoon" in more than 160 languages
                "Good evening" in more than 225 languages
                "Good night" in more than 225 languages
                "Please" in more than 270 languages
                "I don&#39;t understand" in more than 255 languages
                "Do you speak English?" in more than 215 languages
                "Yes" in more than 550 languages
                "No" in more than 520 languages[/b]

                Comment


                  #9
                  second thoughts ,.. might be a little more difficult to use the preg_replace thing i suggested (i thought it used tabs or nbsp or something in the source) but it uses <pre>...</pre> spaces lol .. not much good for what you need it to do lol .. ahwell
                  anyways .. have fun and good luck .. youll need it

                  Comment


                    #10
                    welcome = selamat datang

                    its malaysia

                    Comment


                      #11
                      "SA" => array("Hallo","Welkom"),

                      Click here!!!

                      Comment


                        #12
                        lol bro thts so true, but how will script knw if ur male or female? lol only if the script is mod5 into sum site whr user have account....[/b]
                        well... some1 might use greetings also for already registered users
                        It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
                        ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
                        ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
                        キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

                        Comment


                          #13
                          I think this script will be a gr8 idea when it&#39;s done

                          Click here!!!

                          Comment


                            #14
                            It&#39;s a great idea, but will also be a lot of work, just the thought that it will be in all/most languages, will make it a lot of work... But it&#39;s quit interisting.

                            Click here!!!

                            Comment


                              #15
                              its allready done on my site just switch between the languages only got spanish, afrikaan and arabic tho

                              Comment

                              Working...
                              X