Hello/welcome Message Script

Started on the old forum in July 2007 · view the original in the archive · old links redirect here

15 replies · 1,556 views · started 19 years ago · 1 min read

5 participants
GumSlone Administrator Principal · 1,690 posts #1

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

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Attachments: welcome.txt
alesh Lead · 604 posts #2

hello - pozdrav

welcome - dobrodošli

its Croatian

eeeeerrr....

GumSlone Administrator Principal · 1,690 posts #3

hello - pozdrav welcome - dobrodošli its Croatian

Thanks, i have upgraded it with few more languages

Usage:

function get_hello($country_code)
        {
include("welcome.php");
$hello_mess=$countries[$country_code][0];
return $hello_mess;
}
function get_welcome($country_code)
        {
include("welcome.php");
$welcome_mess=$countries[$country_code][1];
return $welcome_mess;
}
echo get_hello("UA");

echo get_welcome("ES");

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

amylee Principal · 1,092 posts #4

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

metulj Super moderator Principal · 1,726 posts #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)

External image (may be gone)

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ノ刀ノイリ!

alesh Lead · 604 posts #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) External image (may be gone)

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....

eeeeerrr....

Guest #7
<?
$countries=Array(
"DE" => array("Hallo","Herzlich willkommen"),
"GB" => array("Hello","Welcome"),
"RU" => array("Привет","Добро пожаловать"),
"UA" => array("Вітаємо","Ласкаво просим"),
"HR" => array("Pozdrav","Dobrodoš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"), External image (may be gone)

Guest #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 External image (may be gone)

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'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

Guest #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 External image (may be gone) anyways .. have fun and good luck .. youll need it External image (may be gone)

Guest #10

welcome = selamat datang

its malaysia

metulj Super moderator Principal · 1,726 posts #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....

well... some1 might use greetings also for already registered users External image (may be gone)

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ノ刀ノイリ!

amylee Principal · 1,092 posts #15

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

Guest #16

in serbian language "SR" => array("Hello","Zdravo"), "SR" => array("Welcome","Dobrodošli"),
is the same as croatian and bosnian language... External image (may be gone)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close