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)
 BUG+FIX v4bx: Pop_Profile Sex field
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Deleted
deleted

4116 Posts

Posted - 06 July 2002 :  09:58:46  Show Profile
Pop_Profile Sex field is not translated. This is valid for all v4b versions.

I'll check it and send the fix here...


Think Pink
==> Start Internationalization Here

Edited by - bozden on 21 July 2002 18:36:25<

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 06 July 2002 :  10:28:00  Show Profile
bozden, if you need the translation for the dutch lang file, it's this:
sex = geslacht
male = mannelijk
female = vrouwelijk


Roland

http://www.frutzle.com

Snitz Exchange | Do's and Dont's
<
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 21 July 2002 :  18:03:05  Show Profile  Visit tomasalsbro's Homepage
!-- Bump --!

!-Keep distance in traffic-!
www.whiplash.pp.se<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 21 July 2002 :  18:12:36  Show Profile
quote:

!-- Bump --!

!-Keep distance in traffic-!
www.whiplash.pp.se






Think Pink
==> Start Internationalization Here<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 21 July 2002 :  18:34:22  Show Profile
In pop_profile.asp near lines 411-414 find this code:


<tr>
<td bgColor="<% =strPopUpTableColor %>" align=right nowrap valign=top><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% =fLang(strLangPop_Profile00340) %> </font></b></td>
<td bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% = ChkString(rs("M_SEX"), "display") %></font></td>
</tr>


Change it to:


<tr>
<td bgColor="<% =strPopUpTableColor %>" align=right nowrap valign=top><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><% =fLang(strLangPop_Profile00340) %> </font></b></td>
<td bgColor="<% =strPopUpTableColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">
<%
if rs("M_SEX") = "Male" then
Response.Write fLang(strLangInc_Profile00300)
elseif rs("M_SEX") = "Female" then
Response.Write fLang(strLangInc_Profile00310)
else
Response.Write " "
end if
%>
</font></td>
</tr>


Additional Info:

This is only for writing out the info from the database, so it does not effect the database as the previous related bug. We missed this before because it was not a string but uses directly the data in the database. The database keeps (and continues to keep) the selections as "Male" and "Female" (or blank for not selected).

Although it is not standart, I used the variables already defined for inc_profile.asp, namely strLangInc_Profile00300 and strLangInc_Profile00310. Otherwise all language files should have been changed.

I hope no language has problems with this...

PS: Sorry for being late on this again .


Think Pink
==> Start Internationalization Here<
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 22 July 2002 :  12:27:26  Show Profile  Visit tomasalsbro's Homepage


Tomas

!-Keep distance in traffic-!
www.whiplash.pp.se<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 17 August 2002 :  12:34:37  Show Profile
Fixed in v4b03patch005...
<

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