Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Internationalization (v4-archive)
 v40bxx: Left Over Strings (colors, country names)
 New Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Deleted
deleted

4116 Posts

Posted - 23 November 2001 :  20:17:02  Show Profile
Here is the fix for color names:

Define the following in language files around line 992:

strLangInc_Post_Buttons00130 = "Black" '"Black"
strLangInc_Post_Buttons00140 = "Red" '"Red"
strLangInc_Post_Buttons00150 = "Yellow" '"Yellow"
strLangInc_Post_Buttons00160 = "Pink" '"Pink"
strLangInc_Post_Buttons00170 = "Green" '"Green"
strLangInc_Post_Buttons00180 = "Orange" '"Orange"
strLangInc_Post_Buttons00190 = "Purple" '"Purple"
strLangInc_Post_Buttons00200 = "Blue" '"Blue"
strLangInc_Post_Buttons00210 = "Beige" '"Beige"
strLangInc_Post_Buttons00220 = "Brown" '"Brown"
strLangInc_Post_Buttons00230 = "Teal" '"Teal"
strLangInc_Post_Buttons00240 = "Navy" '"Navy"
strLangInc_Post_Buttons00250 = "Maroon" '"Maroon"
strLangInc_Post_Buttons00260 = "LimeGreen" '"LimeGreen"


Change lines 89-104 in inc_post_buttons.asp to this:

<select name="color" onChange="showcolor(this.options[this.selectedIndex].value)">
<option value="black" selected><%=strLangInc_Post_Buttons00130%></option>
<option value="red"><%=strLangInc_Post_Buttons00140%></option>
<option value="yellow"><%=strLangInc_Post_Buttons00150%></option>
<option value="pink"><%=strLangInc_Post_Buttons00160%></option>
<option value="green"><%=strLangInc_Post_Buttons00170%></option>
<option value="orange"><%=strLangInc_Post_Buttons00180%></option>
<option value="purple"><%=strLangInc_Post_Buttons00190%></option>
<option value="blue"><%=strLangInc_Post_Buttons00200%></option>
<option value="beige"><%=strLangInc_Post_Buttons00210%></option>
<option value="brown"><%=strLangInc_Post_Buttons00220%></option>
<option value="teal"><%=strLangInc_Post_Buttons00230%></option>
<option value="navy"><%=strLangInc_Post_Buttons00240%></option>
<option value="maroon"><%=strLangInc_Post_Buttons00250%></option>
<option value="limeGreen"><%=strLangInc_Post_Buttons00260%></option>
</select></td>



Think Pink
Test Site not ready yet | Post v40b03 Patches<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 24 November 2001 :  10:36:28  Show Profile
About Country names:

1) There are 223 such countries in v3.3.03 and duplicating them in language files will be unnecessarily eat up server resources.
2) We need to find a way to make one country "default", best place for this is admin section and the database.
3) The country data of the members are kept as strings in the database and this will cause problems with translated versions, getting statistics etc. A better way is to keep three letter ISO country codes and use a lookup table to output them on the screen.
4) We need to use a reliable "official" resource for this, such as UN resources.

Think Pink
Test Site not ready yet | Post v40b03 Patches<
Go to Top of Page

m
Starting Member

Slovakia
48 Posts

Posted - 26 November 2001 :  06:09:52  Show Profile
Hi Bozden,
Last year I have made country/flag database. I can send you these codes:
FIPS 10-4 ISO 3166 (2CC) ISO 3166 (3CC) ISO 3166 Numeric (not standardized for US) Internet. Drop me an email.


<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 30 September 2002 :  16:51:07  Show Profile
The mother-country-name issue is solved in v4b04 using an application variable set in admin section & related code changes.<

Stop the WAR!
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000 Version 3.4.07