The online FAQ database contains hundreds of answers to frequently asked questions, articles on using our
web server applications and other related technologies, and resolutions to common problems. If you are seeing
an error message, be sure to try searching on the error message or error number that you are seeing.
|
| |
| |
| |
| |
|
The date is not displayed the way I want it. My local date format is Day/Month/Year, but since my site is hosted on a server in the US, it is showing as Month/Day/Year. How can I change it?
|
|
|
To over-ride the default locale settings of the server your site is running on, a command to change the locale needs to be inserted into one of the ASP file. For XCENT products that have a database connection file (i.e. XUDdb.ASP and XcCPdb.ASP), you would add this to these files. For XCENT products that ship with a language file, when/if you make changes to the language file, you can add a single line at the top of this file to over-ride any regional settings your web server is set to. If your XCENT product does not have a language file, you can add this line to the configuration file instead. This will effect all the regional settings (date and time formatting, currency symbol, etc.).
At the top of the file, you will want to add a new line that will set the correct locale you want your site to run as. This line will look like this:
<% Session.LCID=localenumber %>
You will want to replace localenumber with the proper number from the list below.
Afrikaans |
1078 |
Albanian |
1052 |
Arabic - U.A.E. |
14337 |
Arabic – Bahrain |
15361 |
Arabic – Algeria |
5121 |
Arabic – Egypt |
3073 |
Arabic – Iraq |
2049 |
Arabic – Jordan |
11265 |
Arabic – Kuwait |
13313 |
Arabic – Lebanon |
12289 |
Arabic – Libya |
4097 |
Arabic – Morocco |
6145 |
Arabic – Oman |
8193 |
Arabic – Qatar |
16385 |
Arabic - Saudia Arabia |
1025 |
Arabic – Syria |
10241 |
Arabic – Tunisia |
7169 |
Arabic – Yemen |
9217 |
Basque |
1069 |
Belarusian |
1059 |
Bulgarian |
1026 |
Catalan |
1027 |
Chinese – PRC |
2052 |
Chinese - Hong Kong S.A.R. |
3076 |
Chinese – Singapore |
4100 |
Chinese – Taiwan |
1028 |
Croatian |
1050 |
Czech |
1029 |
Danish |
1030 |
Dutch |
1043 |
Dutch – Belgium |
2067 |
English – Australia |
3081 |
English – Belize |
10249 |
English – Canada |
4105 |
English – Ireland |
6153 |
English – Jamaica |
8201 |
English - New Zealand |
5129 |
English - South Africa |
7177 |
English – Trinidad |
11273 |
English - United Kingdom |
2057 |
English - United States |
1033 |
Estonian |
1061 |
Farsi |
1065 |
Finnish |
1035 |
Faeroese |
1080 |
French – Standard |
1036 |
French – Belgium |
2060 |
French – Canada |
3084 |
French – Luxembourg |
5132 |
French – Switzerland |
4108 |
Gaelic – Scotland |
1084 |
German – Standard |
1031 |
German – Austrian |
3079 |
German – Lichtenstein |
5127 |
German – Luxembourg |
4103 |
German – Switzerland |
2055 |
Greek |
1032 |
Hebrew |
1037 |
Hindi |
1081 |
Hungarian |
1038 |
Icelandic |
1039 |
Indonesian |
1057 |
Italian – Standard |
1040 |
Italian – Switzerland |
2046 |
Japanese |
1041 |
Korean |
1042 |
Latvian |
1062 |
Lithuanian |
1063 |
Macedonian |
1071 |
Malay – Malaysia |
1086 |
Maltese |
1082 |
Norwegian – Bokmål |
1044 |
Polish |
1045 |
Portuguese – Standard |
2070 |
Portuguese – Brazil |
1046 |
Raeto-Romance |
1047 |
Romanian |
1048 |
Romanian – Moldova |
2072 |
Russian |
1049 |
Russian – Moldova |
2073 |
Serbian – Cyrillic |
3098 |
Setsuana |
1074 |
Slovenian |
1060 |
Slovak |
1051 |
Sorbian |
1070 |
Spanish – Standard |
1034 |
Spanish – Argentina |
11274 |
Spanish – Bolivia |
16394 |
Spanish – Chile |
13322 |
Spanish – Columbia |
9226 |
Spanish - Costa Rica |
5130 |
Spanish - Dominican Republic |
7178 |
Spanish – Ecuador |
12298 |
Spanish – Guatemala |
4106 |
Spanish – Honduras |
18442 |
Spanish – Mexico |
2058 |
Spanish – Nicaragua |
19466 |
Spanish – Panama |
6154 |
Spanish – Peru |
10250 |
Spanish - Puerto Rico |
20490 |
Spanish – Paraguay |
15730 |
Spanish - El Salvador |
17418 |
Spanish – Uruguay |
14346 |
Spanish – Venezuela |
8202 |
Sutu |
1072 |
Swedish |
1053 |
Swedish – Finland |
2077 |
Thai |
1054 |
Turkish |
1055 |
Tsonga |
1073 |
Ukranian |
1058 |
Urdu – Pakistan |
1056 |
Vietnamese |
1066 |
Xhosa |
1076 |
Yiddish |
1085 |
Zulu |
1077 |
|
|
|
|
| |