홈으로 | 무료회원가입 | 아이디/비번찾기
추천음악방송
웹브라우저가 사용하는 언어를 알려줌
홈페이지홈페이지 18년 전
<HTML>

<HEAD>
<TITLE>웹브라우저가 사용하는 언어를 알려줌</TITLE>

<!-- <head>태그 안에 다음 스크립트를 삽입한다. -->

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
if (navigator.browserLanguage.substr(0,2) == "af")
document.write('Afrikaans')
else if (navigator.browserLanguage.substr(0,2) == "ar")
{
if (navigator.browserLanguage.substr(3,2) == "ae")
document.write('Arabic / United Arab Emirates')
else if (navigator.browserLanguage.substr(3,2) == "bh")
document.write('Arabic / Bahrain')
else if (navigator.browserLanguage.substr(3,2) == "eg")
document.write('Arabic / Egypt')
else if (navigator.browserLanguage.substr(3,2) == "dz")
document.write('Arabic / Algeria')
else if (navigator.browserLanguage.substr(3,2) == "iq")
document.write('Arabic / Iraq')
else if (navigator.browserLanguage.substr(3,2) == "jo")
document.write('Arabic / Jordan')
else if (navigator.browserLanguage.substr(3,2) == "kw")
document.write('Arabic / Kuwait')
else if (navigator.browserLanguage.substr(3,2) == "lb")
document.write('Arabic / Lebanon')
else if (navigator.browserLanguage.substr(3,2) == "ly")
document.write('Arabic / Libya')
else if (navigator.browserLanguage.substr(3,2) == "ma")
document.write('Arabic / Morocco')
else if (navigator.browserLanguage.substr(3,2) == "om")
document.write('Arabic / Oman')
else if (navigator.browserLanguage.substr(3,2) == "qa")
document.write('Arabic / Qatar')
else if (navigator.browserLanguage.substr(3,2) == "sa")
document.write('Arabic / Saudi Arabia')
else if (navigator.browserLanguage.substr(3,2) == "sy")
document.write('Arabic / Syria')
else if (navigator.browserLanguage.substr(3,2) == "tn")
document.write('Arabic / Tunisia')
else if (navigator.browserLanguage.substr(3,2) == "ye")
document.write('Arabic / Yemen')
else document.write('Arabic')
}
else if (navigator.browserLanguage.substr(0,2) == "be")
document.write('Belarusian')
else if (navigator.browserLanguage.substr(0,2) == "bg")
document.write('Bulgarian')
else if (navigator.browserLanguage.substr(0,2) == "ca")
document.write('Catalan')
else if (navigator.browserLanguage.substr(0,2) == "cs")
document.write('Czech')
else if (navigator.browserLanguage.substr(0,2) == "da")
document.write('Danish')
else if (navigator.browserLanguage.substr(0,2) == "de")
{
if (navigator.browserLanguage.substr(3,2) == "at")
document.write('German / Austria')
else if (navigator.browserLanguage.substr(3,2) == "ch")
document.write('German / Switzerland')
else if (navigator.browserLanguage.substr(3,2) == "li")
document.write('German / Liechtenstein')
else if (navigator.browserLanguage.substr(3,2) == "lu")
document.write('German / Luxembourg')
else document.write('German / Germany')
}
else if (navigator.browserLanguage.substr(0,2) == "el")
document.write('Greek / Greece')
else if (navigator.browserLanguage.substr(0,2) == "en")
{
if (navigator.browserLanguage.substr(3,2) == "us")
document.write('English / United States')
else if (navigator.browserLanguage.substr(3,2) == "au")
document.write('English / Austrailia')
else if (navigator.browserLanguage.substr(3,2) == "bz")
document.write('English / Belize')
else if (navigator.browserLanguage.substr(3,2) == "ca")
document.write('English / Canada')
else if (navigator.browserLanguage.substr(3,2) == "gb")
document.write('English / Great Britain')
else if (navigator.browserLanguage.substr(3,2) == "ie")
document.write('English / Ireland')
else if (navigator.browserLanguage.substr(3,2) == "jm")
document.write('English / Jamaica')
else if (navigator.browserLanguage.substr(3,2) == "nz")
document.write('English / New Zealand')
else if (navigator.browserLanguage.substr(3,2) == "tt")
document.write('English / Trinidad')
else if (navigator.browserLanguage.substr(3,2) == "za")
document.write('English / South Africa')
else document.write('English')
}
else if (navigator.browserLanguage.substr(0,2) == "es")
{
if (navigator.browserLanguage.substr(3,2) == "ar")
document.write('Spanish / Argentina')
else if (navigator.browserLanguage.substr(3,2) == "bo")
document.write('Spanish / Bolivia')
else if (navigator.browserLanguage.substr(3,2) == "cl")
document.write('Spanish / Chile')
else if (navigator.browserLanguage.substr(3,2) == "co")
document.write('Spanish / Colombia')
else if (navigator.browserLanguage.substr(3,2) == "cr")
document.write('Spanish / Costa Rica')
else if (navigator.browserLanguage.substr(3,2) == "do")
document.write('Spanish / Dominican Republic')
else if (navigator.browserLanguage.substr(3,2) == "ec")
document.write('Spanish / Ecuador')
else if (navigator.browserLanguage.substr(3,2) == "gt")
document.write('Spanish / Guatemala')
else if (navigator.browserLanguage.substr(3,2) == "hn")
document.write('Spanish / Honduras')
else if (navigator.browserLanguage.substr(3,2) == "mx")
document.write('Spanish / Mexico')
else if (navigator.browserLanguage.substr(3,2) == "ni")
document.write('Spanish / Nicaragua')
else if (navigator.browserLanguage.substr(3,2) == "pa")
document.write('Spanish / Panama')
else if (navigator.browserLanguage.substr(3,2) == "pe")
document.write('Spanish / Peru')
else if (navigator.browserLanguage.substr(3,2) == "pr")
document.write('Spanish / Puerto Rico')
else if (navigator.browserLanguage.substr(3,2) == "py")
document.write('Spanish / Paraguay')
else if (navigator.browserLanguage.substr(3,2) == "sv")
document.write('Spanish / El Salvador')
else if (navigator.browserLanguage.substr(3,2) == "uy")
document.write('Spanish / Uruguay')
else if (navigator.browserLanguage.substr(3,2) == "ve")
document.write('Spanish / Venezuela')
else document.write('Spanish / Spain')
}
else if (navigator.browserLanguage.substr(0,2) == "et")
document.write('Estonian')
else if (navigator.browserLanguage.substr(0,2) == "eu")
document.write('Basque')
else if (navigator.browserLanguage.substr(0,2) == "fa")
document.write('Farsi')
else if (navigator.browserLanguage.substr(0,2) == "fi")
document.write('Finnish')
else if (navigator.browserLanguage.substr(0,2) == "fo")
document.write('Faeroese')
else if (navigator.browserLanguage.substr(0,2) == "fr")
{
if (navigator.browserLanguage.substr(3,2) == "be")
document.write('French / Belgium')
else if (navigator.browserLanguage.substr(3,2) == "ca")
document.write('French / Canada')
else if (navigator.browserLanguage.substr(3,2) == "ch")
document.write('French / Switzerland')
else if (navigator.browserLanguage.substr(3,2) == "ca")
document.write('French / Luxembourg')
else document.write('French / France')
}
else if (navigator.browserLanguage.substr(0,2) == "gd")
{
if (navigator.browserLanguage.substr(3,2) == "ie")
document.write('Gaelic / Ireland')
else document.write('Gaelic / Scotland')
}
else if (navigator.browserLanguage.substr(0,2) == "he")
document.write('Hebrew')
else if (navigator.browserLanguage.substr(0,2) == "hi")
document.write('Hindi')
else if (navigator.browserLanguage.substr(0,2) == "hr")
document.write('Croatian')
else if (navigator.browserLanguage.substr(0,2) == "hu")
document.write('Hungarian')
else if (navigator.browserLanguage.substr(0,2) == "in")
document.write('Indonesian')
else if (navigator.browserLanguage.substr(0,2) == "is")
document.write('Icelandic')
else if (navigator.browserLanguage.substr(0,2) == "he")
document.write('Hebrew')
else if (navigator.browserLanguage.substr(0,2) == "it")
{
if (navigator.browserLanguage.substr(3,2) == "ch")
document.write('Italian / Switzerland')
else document.write('Italian / Italy')
}
else if (navigator.browserLanguage.substr(0,2) == "ja")
document.write('Japanese / Japan')
else if (navigator.browserLanguage.substr(0,2) == "ji")
document.write('Yiddish')
else if (navigator.browserLanguage.substr(0,2) == "ko")
document.write('Korean / Korea')
else if (navigator.browserLanguage.substr(0,2) == "lt")
document.write('Lithuanian / Lithuania')
else if (navigator.browserLanguage.substr(0,2) == "lv")
document.write('Latvian')
else if (navigator.browserLanguage.substr(0,2) == "mk")
document.write('Macedonian / Macedonia')
else if (navigator.browserLanguage.substr(0,2) == "ms")
document.write('Malaysian / Malaysia')
else if (navigator.browserLanguage.substr(0,2) == "mt")
document.write('Maltese / Malta')
else if (navigator.browserLanguage.substr(0,2) == "nl")
{
if (navigator.browserLanguage.substr(3,2) == "be")
document.write('Dutch / Belgium')
else document.write('Dutch / Netherlands')
}
else if (navigator.browserLanguage.substr(0,2) == "pl")
document.write('Polish / Poland')
else if (navigator.browserLanguage.substr(0,2) == "pt")
{
if (navigator.browserLanguage.substr(3,2) == "br")
document.write('Portuguese / Brazil')
else document.write('Portuguese / Portugual')
}
else if (navigator.browserLanguage.substr(0,2) == "rm")
document.write('Rhaeto-Romanic / Romania')
else if (navigator.browserLanguage.substr(0,2) == "ro")
document.write('Romanian / Romania')
else if (navigator.browserLanguage.substr(0,2) == "ru")
document.write('Russian / Russia')
else if (navigator.browserLanguage.substr(0,2) == "sb")
document.write('Sorbian')
else if (navigator.browserLanguage.substr(0,2) == "sk")
document.write('Slovak')
else if (navigator.browserLanguage.substr(0,2) == "sl")
document.write('Slovenian')
else if (navigator.browserLanguage.substr(0,2) == "sq")
document.write('Albanian / Albania')
else if (navigator.browserLanguage.substr(0,2) == "sr")
document.write('Serbian / Serbia')
else if (navigator.browserLanguage.substr(0,2) == "sv")
{
if (navigator.browserLanguage.substr(3,2) == "fi")
document.write('Swedish / Finland')
else document.write('Swedish / Sweden')
}
else if (navigator.browserLanguage.substr(0,2) == "sx")
document.write('Sutu')
else if (navigator.browserLanguage.substr(0,2) == "sz")
document.write('Sami')
else if (navigator.browserLanguage.substr(0,2) == "th")
document.write('Thai / Thailand')
else if (navigator.browserLanguage.substr(0,2) == "tn")
document.write('Tswana')
else if (navigator.browserLanguage.substr(0,2) == "tr")
document.write('Turkish / Turkey')
else if (navigator.browserLanguage.substr(0,2) == "ts")
document.write('Tsonga')
else if (navigator.browserLanguage.substr(0,2) == "uk")
document.write('Ukrainian')
else if (navigator.browserLanguage.substr(0,2) == "th")
document.write('Thai / Thailand')
else if (navigator.browserLanguage.substr(0,2) == "ur")
document.write('Urdu')
else if (navigator.browserLanguage.substr(0,2) == "ve")
document.write('Venda')
else if (navigator.browserLanguage.substr(0,2) == "vi")
document.write('Vietnamese / Vietnam')
else if (navigator.browserLanguage.substr(0,2) == "xh")
document.write('Xhosa')
else if (navigator.browserLanguage.substr(0,2) == "zh")
{
if (navigator.browserLanguage.substr(3,2) == "cn")
document.write('Chinese / China')
else if (navigator.browserLanguage.substr(3,2) == "hk")
document.write('Chinese / Hong Kong')
else if (navigator.browserLanguage.substr(3,2) == "sg")
document.write('Chinese / Singapore')
else if (navigator.browserLanguage.substr(3,2) == "tw")
document.write('Chinese / Taiwan')
else document.write('Chinese / China')
}
else if (navigator.browserLanguage.substr(0,2) == "zu")
document.write('Zulu')
else
document.write('웹브라우저에 사용하는 언어를 알수 없습니다.')
// End -->
</script>

</HEAD>

<BODY>

<!-- <body>와 </body>사이에 다음을 삽입한다 -->


</BODY>
</HTML>
추천추천 : 223 추천 목록
번호 제목
3,035
 아이프레임(iframe) 비율 유지하면서 크기 조절하는 방법
3,034
 PHP 배열에서 무작위로 하나 뽑아주는 array rand() 함수
3,033
 PHP 정규식 정리
3,032
 PHP 정규식을 활용한 태그 및 특정 문자열 제거 및 추출 방법
3,031
 php 크롤링 또는 파싱 함수, 정규식 모음
3,030
 제이쿼리 기본 명령어
3,029
 웹페이지 가로 모드세로 모드 인식하기
3,028
 모바일 웹 화면 강제 회전(가로모드 고정)
3,027
 [HTML5]에서 frameset 대체 방법과 iframe 속성
3,026
 HTML <Audio> 사용법
3,025
 윈도우10 시스템파일 손상 (초간단 오류 복구방법!!)
3,024
 PHP 파일 존재 여부 파악하기(로컬 파일 존재 및 원격지 파일 존재)
3,023
 [CSS] 박스 세로 가운데 중앙 정렬 6가지
3,022
 CSS Layout 수평 & 수직 정렬
3,021
 여러 도메인들 간 쿠키 공유하기
3,020
 태그 사이에 있는 텍스트를 추출
3,019
 [JQuery] textbox focus on off일때 숫자 콤마 보여주기
3,018
 쿠키 생성,가져오기,삭제
3,017
 사용자 함수 모음
3,016
 마우스,키보드 제한 ( 오른쪽클릭,드래그,영역선택등..)
3,015
 [HTML5] <video> - DOM으로 제어하기
3,014
 HTML5 video 태그에서 영상 좌우반전
3,013
 PHP - 특정 태그 및 문자열 추출, 제거
3,012
 [PHP] define과 defined의 차이
3,011
 우클릭 완벽차단 스크립트
목록
뮤직트로트 부산광역시 부산진구 가야동 ㅣ 개인정보취급방침
Copyright (C) musictrot All rights reserved.