# Pls help me out!

**URL:** <https://forum.kirupa.com/t/pls-help-me-out/10212>\
**Category:** Uncategorized\
**Created:** [December 27, 2002, 3:20am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212 "2002-12-27T03:20:03Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrinivasrao](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@shrinivasrao](https://forum.kirupa.com/u/shrinivasrao)\
**Post date:** [December 27, 2002, 3:20am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/1 "2002-12-27T03:20:03Z")

</div>

Hi,

I need a solution for this following question. Well, I’m developing a multi-language site both in korean and english. The problem is that I want to display the versions (Korean or english) based upon the settings of the client machine. But both the pages should locate in the same directory. See this eg., [www.ahnlab.com](http://www.ahnlab.com)

The above site will be in korean if the client’s system settings are in Korean same way in english. I don’t know how it happens. Pls kindly let me know what kinda technology behind this. Both the versions should be in the same directory and it should get displayed according to the OS or System Settings.

Can anybody give me a solution for this? How can I solve it? Expecting a nice answer for this.

Thanks in advance,

Shri.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 5:12am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/2 "2002-12-27T05:12:13Z")

</div>

Why don’t you just have two buttons on a splash page that allow the user to choose what language they want to enter?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 7:13am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/3 "2002-12-27T07:13:03Z")

</div>

Sorry buds…the client doesn’t want to have that kind of button options. Is there any other alternative for that?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 7:18am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/4 "2002-12-27T07:18:45Z")

</div>

Ok well

1)That is kinda stupid :-\

2)It is hard to test this since I don’t have, nor do I fluently speak two different languages.

But here is a way in Flash that I think MIGHT work.

```auto
if (System.capabilities.language == "en") {
	getURL("englishFile.html","_self")
} else {
	getURL("koreanFile.html","_self")
}

```

But all that does is check if it is english, and if it isn’t, it goes to korean. I don’t know what the letters for korean are, I am guessing “ko”, so you can also try this…

```auto
if (System.capabilities.language == "en") {
	getURL("englishFile.html", "_self");
} else if (System.capabilities.language == "ko") {
	getURL("koreanFile.html", "_self");
} else {
	getURL("noLanguageSupported.html", "_self");
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 7:21am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/5 "2002-12-27T07:21:06Z")

</div>

Oh yeah, those actions go on a frame.

And if you run a korean machine, you can find out the proper letters by putting this on a frame then testing the movie…

```auto
trace(System.capabilities.language);

```

The letters that appear in the output window are what you need.

I hope this actually works :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 8:58am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/6 "2002-12-27T08:58:43Z")

</div>

I think that can solve my problems…For your kind information, this is not a flash site…The whole coding is in ASP…Will it still work? Its my final question…Weh…

Shri

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 9:01am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/7 "2002-12-27T09:01:41Z")

</div>

Ummm, you will need to have the tid bit of flash on the page you are using to redirect your user to the right page. Even if it is just a blank page saying “redirecting” and you have a like a 1px by 1px flash movie in there that has the if statement. But of course, the viewer will have to have the appropriate plugin (Flash 6 [MX]).

I don’t know how to redirect by language in Javascript… something tells me it isn’t easy though. So I can’t help you there ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 9:06am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/8 "2002-12-27T09:06:09Z")

</div>

No clue, I can’t test it :-\

Using it for english does though.

Hey Shrin… I think I just found a javascript way of doing it.

[http://wsabstract.com/script/script2/language.shtml](http://wsabstract.com/script/script2/language.shtml)

ANd it doesn’t look difficult at all!!! (but then again, I do code Javascript a bit).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 9:25am UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/9 "2002-12-27T09:25:10Z")

</div>

Dude…

Thanks for your help…I think I have to learn many things still…I’m still on the way…😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 5:18pm UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/10 "2002-12-27T17:18:09Z")

</div>

No Problem 😉 I am here to help.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 5:23pm UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/11 "2002-12-27T17:23:20Z")

</div>

I have a brazillian-portuguese windows and english flash, and when I test tha cod of yours:

trace(System.capabilities.language);

the outputwindow returns:

**en**

:-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 5:40pm UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/12 "2002-12-27T17:40:40Z")

</div>

Well it pulls the default language of your computer :-\

Is that set to brazillian-portuguese ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 5:48pm UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/13 "2002-12-27T17:48:44Z")

</div>

:-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 5:53pm UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/14 "2002-12-27T17:53:19Z")

</div>

Interesting :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 27, 2002, 5:59pm UTC](https://forum.kirupa.com/t/pls-help-me-out/10212/15 "2002-12-27T17:59:44Z")

</div>

:-\
