BotDetect CAPTCHA Portuguese Localization
This page contains the details of Portuguese Captcha (Português Captcha) locales fully supported by BotDetect, for which there are both localized Captcha images and audio Captcha sounds available.
Supported Portuguese CAPTCHA Locales
Portuguese CAPTCHA
Captcha Locale overview:
| Language | Country | BotDetect Locale settings |
|---|---|---|
| Portuguese | Portugal | pt, pt-PT |
Examples and specifications of individual Captcha feature localizations:
- Portuguese localized Captcha images
- Portuguese localized audio Captcha sounds
- Portuguese localized Captcha codes
Portuguese Localized CAPTCHA Images
Example Captcha images generated by BotDetect using the base Latin character set for all Captcha ImageStyle values can be seen in the BotDetect Captcha image styles demo
To use BotDetect Captcha images localized for the Portuguese Captcha Locale in your application, you can specify the Locale value:
- In PHP applications, you can use either the application-global setting in the
lib/botdetect/CaptchaConfig.phpfile:// Set the default Locale for all Captcha instances in the // PHP application to Portuguese $LBD_CaptchaConfig->Locale = 'pt-PT';
or the Captcha object instance-specific value:<?php $SampleCaptcha = new Captcha("SampleCaptcha"); $SampleCaptcha->UserInputID = "CaptchaCode"; // Set the Captcha object instance Locale to Portuguese $SampleCaptcha->Locale = 'pt-PT'; echo $SampleCaptcha->Html(); ?>
- In ASP.NET applications, you can use either the
.aspxpage source:<!-- Captcha control localized to Portuguese --> <BotDetect:Captcha ID="SampleCaptcha" runat="server" Locale="pt-PT" />
or the page code-behind:[C#] // Set the Captcha instance Locale to Portuguese SampleCaptcha.Locale = "pt-PT";[VB.NET] ' Set the Captcha instance Locale to Portuguese SampleCaptcha.Locale = "pt-PT"Locale-dependent Captcha strings can be configured in the
<botDetect> Web.configconfiguration section. - In ASP Classic applications, you can use either the application-global setting in the
BotDetect\CaptchaConfig.aspfile:' Set the default Locale for all Captcha instances in the ' Classic ASP application to Portuguese LBD_Configuration_Locale = "pt-PT"
or the Captcha object instance-specific value:<% Dim SampleCaptcha : Set SampleCaptcha = (New Captcha)("SampleCaptcha") SampleCaptcha.UserInputID = "CaptchaCode" ' Set the Captcha object instance Locale to Portuguese SampleCaptcha.Locale = "pt-PT" Response.Write SampleCaptcha.Html %>
Portuguese Localized Audio CAPTCHA Sounds
Example audio Captcha sounds generated by BotDetect using the Portuguese Locale setting can be heard in the BotDetect Captcha features demo
To use BotDetect sounds localized for the Portuguese Captcha Locale, you should also download the Portuguese Pronunciation Sound Package and deploy the .bdsp file to the BotDetect sounds folder your application uses:
- PHP applications always use
lib/botdetect/Resources/Sounds. - ASP.NET applications use
Bin\BotDetectSoundsby default. A custom folder can be specified in the<botDetect>configuration section. - ASP Classic applications use
Redistribute\BotDetectSoundsin the BotDetect installation folder by default. A custom folder can be specified in theBotDetect/CaptchaConfig.aspfile.
Portuguese Localized CAPTCHA Codes
The pt-PT Captcha locale uses the default Latin character set, consisting of 26 characters.
CodeStyle.Alpha Portuguese CAPTCHA Characters
| Unicode code point | Name | Character |
|---|---|---|
0x0041 |
á | A |
0x0042 |
bê | B |
0x0043 |
cê | C |
0x0044 |
dê | D |
0x0045 |
é | E |
0x0046 |
efe | F (not used) |
0x0047 |
gê | G (not used) |
0x0048 |
agá | H |
0x0049 |
i | I (not used) |
0x004A |
jota | J |
0x004B |
capa | K |
0x004C |
ele | L (not used) |
0x004D |
eme | M |
0x004E |
ene | N |
0x004F |
ó | O |
0x0050 |
pê | P |
0x0051 |
quê | Q (not used) |
0x0052 |
erre | R |
0x0053 |
esse | S |
0x0054 |
tê | T |
0x0055 |
u | U |
0x0056 |
vê | V |
0x0057 |
dábliu | W |
0x0058 |
xis | X |
0x0059 |
ípsilon | Y |
0x005A |
zê | Z |
CodeStyle.Numeric Portuguese CAPTCHA Characters
| Unicode code point | Name | Character |
|---|---|---|
0x0030 |
zero | 0 |
0x0031 |
one | 1 |
0x0032 |
two | 2 |
0x0033 |
three | 3 |
0x0034 |
four | 4 |
0x0035 |
five | 5 |
0x0036 |
six | 6 |
0x0037 |
seven | 7 (not used) |
0x0038 |
eight | 8 |
0x0039 |
nine | 9 |
CodeStyle.Alphanumeric Portuguese CAPTCHA Characters
| Unicode code point | Name | Character |
|---|---|---|
0x0041 |
á | A |
0x0042 |
bê | B |
0x0043 |
cê | C |
0x0044 |
dê | D |
0x0045 |
é | E |
0x0046 |
efe | F (not used) |
0x0047 |
gê | G (not used) |
0x0048 |
agá | H |
0x0049 |
i | I (not used) |
0x004A |
jota | J |
0x004B |
capa | K |
0x004C |
ele | L (not used) |
0x004D |
eme | M |
0x004E |
ene | N |
0x004F |
ó | O (not used) |
0x0050 |
pê | P |
0x0051 |
quê | Q (not used) |
0x0052 |
erre | R |
0x0053 |
esse | S |
0x0054 |
tê | T |
0x0055 |
u | U |
0x0056 |
vê | V |
0x0057 |
dábliu | W |
0x0058 |
xis | X |
0x0059 |
ípsilon | Y |
0x005A |
zê | Z (not used) |
0x0030 |
zero | 0 (not used) |
0x0031 |
one | 1 (not used) |
0x0032 |
two | 2 (not used) |
0x0033 |
three | 3 |
0x0034 |
four | 4 |
0x0035 |
five | 5 |
0x0036 |
six | 6 |
0x0037 |
seven | 7 (not used) |
0x0038 |
eight | 8 |
0x0039 |
nine | 9 |
If you want to customize the exact character set used for Captcha code generation, you can specify your custom charsets in PHP, ASP.NET and Classic ASP implementations of BotDetect.
Brazilian Portuguese CAPTCHA
Captcha Locale overview:
| Language | Country | BotDetect Locale settings |
|---|---|---|
| Brazilian Portuguese | Portugal | pt-BR |
Examples and specifications of individual Captcha feature localizations:
- Brazilian Portuguese localized Captcha images
- Brazilian Portuguese localized audio Captcha sounds
- Brazilian Portuguese localized Captcha codes
Brazilian Portuguese Localized CABRCHA Images
Example Captcha images generated by BotDetect using the base Latin character set for all Captcha ImageStyle values can be seen in the BotDetect Captcha image styles demo
To use BotDetect Captcha images localized for the Brazilian Portuguese Captcha Locale in your application, you can specify the Locale value:
- In PHP applications, you can use either the application-global setting in the
lib/botdetect/CaptchaConfig.phpfile:// Set the default Locale for all Captcha instances in the // PHP application to Brazilian Portuguese $LBD_CaptchaConfig->Locale = 'pt-BR';
or the Captcha object instance-specific value:<?php $SampleCaptcha = new Captcha("SampleCaptcha"); $SampleCaptcha->UserInputID = "CaptchaCode"; // Set the Captcha object instance Locale to Brazilian Portuguese $SampleCaptcha->Locale = 'pt-BR'; echo $SampleCaptcha->Html(); ?>
- In ASP.NET applications, you can use either the
.aspxpage source:<!-- Captcha control localized to Brazilian Portuguese --> <BotDetect:Captcha ID="SampleCaptcha" runat="server" Locale="pt-BR" />
or the page code-behind:[C#] // Set the Captcha instance Locale to Brazilian Portuguese SampleCaptcha.Locale = "pt-BR";[VB.NET] ' Set the Captcha instance Locale to Brazilian Portuguese SampleCaptcha.Locale = "pt-BR"Locale-dependent Captcha strings can be configured in the
<botDetect> Web.configconfiguration section. - In ASP Classic applications, you can use either the application-global setting in the
BotDetect\CaptchaConfig.aspfile:' Set the default Locale for all Captcha instances in the ' Classic ASP application to Brazilian Portuguese LBD_Configuration_Locale = "pt-BR"
or the Captcha object instance-specific value:<% Dim SampleCaptcha : Set SampleCaptcha = (New Captcha)("SampleCaptcha") SampleCaptcha.UserInputID = "CaptchaCode" ' Set the Captcha object instance Locale to Brazilian Portuguese SampleCaptcha.Locale = "pt-BR" Response.Write SampleCaptcha.Html %>
Brazilian Portuguese Localized CABRCHA Sounds
Example audio Captcha sounds generated by BotDetect using the Brazilian Portuguese Locale setting can be heard in the BotDetect Captcha features demo
To use BotDetect sounds localized for the Brazilian Portuguese Captcha Locale, you should also download the Brazilian Portuguese Pronunciation Sound Package and deploy the .bdsp file to the BotDetect sounds folder your application uses:
- PHP applications always use
lib/botdetect/Resources/Sounds. - ASP.NET applications use
Bin\BotDetectSoundsby default. A custom folder can be specified in the<botDetect>configuration section. - ASP Classic applications use
Redistribute\BotDetectSoundsin the BotDetect installation folder by default. A custom folder can be specified in theBotDetect/CaptchaConfig.aspfile.
Brazilian Portuguese Localized CABRCHA Codes
The pt-BR Captcha locale uses the default Latin character set, consisting of 26 characters.
CodeStyle.Alpha Brazilian Portuguese CABRCHA Characters
| Unicode code point | Name | Character |
|---|---|---|
0x0041 |
á | A |
0x0042 |
bê | B |
0x0043 |
cê | C |
0x0044 |
dê | D |
0x0045 |
é | E |
0x0046 |
efe | F (not used) |
0x0047 |
gê | G (not used) |
0x0048 |
agá | H |
0x0049 |
i | I (not used) |
0x004A |
jota | J |
0x004B |
cá | K |
0x004C |
ele | L (not used) |
0x004D |
eme | M |
0x004E |
ene | N |
0x004F |
ó | O |
0x0050 |
pê | P |
0x0051 |
quê | Q (not used) |
0x0052 |
erre | R |
0x0053 |
esse | S |
0x0054 |
tê | T |
0x0055 |
u | U |
0x0056 |
vê | V |
0x0057 |
dábliu | W |
0x0058 |
xis | X |
0x0059 |
ípsilon | Y |
0x005A |
zê | Z |
CodeStyle.Numeric Brazilian Portuguese CABRCHA Characters
| Unicode code point | Name | Character |
|---|---|---|
0x0030 |
zero | 0 |
0x0031 |
one | 1 |
0x0032 |
two | 2 |
0x0033 |
three | 3 |
0x0034 |
four | 4 |
0x0035 |
five | 5 |
0x0036 |
six | 6 |
0x0037 |
seven | 7 (not used) |
0x0038 |
eight | 8 |
0x0039 |
nine | 9 |
CodeStyle.Alphanumeric Brazilian Portuguese CABRCHA Characters
| Unicode code point | Name | Character |
|---|---|---|
0x0041 |
á | A |
0x0042 |
bê | B |
0x0043 |
cê | C |
0x0044 |
dê | D |
0x0045 |
é | E |
0x0046 |
efe | F (not used) |
0x0047 |
gê | G (not used) |
0x0048 |
agá | H |
0x0049 |
i | I (not used) |
0x004A |
jota | J |
0x004B |
cá | K |
0x004C |
ele | L (not used) |
0x004D |
eme | M |
0x004E |
ene | N |
0x004F |
ó | O (not used) |
0x0050 |
pê | P |
0x0051 |
quê | Q (not used) |
0x0052 |
erre | R |
0x0053 |
esse | S |
0x0054 |
tê | T |
0x0055 |
u | U |
0x0056 |
vê | V |
0x0057 |
dábliu | W |
0x0058 |
xis | X |
0x0059 |
ípsilon | Y |
0x005A |
zê | Z (not used) |
0x0030 |
zero | 0 (not used) |
0x0031 |
one | 1 (not used) |
0x0032 |
two | 2 (not used) |
0x0033 |
three | 3 |
0x0034 |
four | 4 |
0x0035 |
five | 5 |
0x0036 |
six | 6 |
0x0037 |
seven | 7 (not used) |
0x0038 |
eight | 8 |
0x0039 |
nine | 9 |
If you want to customize the exact character set used for Captcha code generation, you can specify your custom charsets in PHP, ASP.NET and Classic ASP implementations of BotDetect.
Current BotDetect Versions
- BotDetect PHP CAPTCHA v3.0.Beta12013 May 20
- BotDetect ASP.NET CAPTCHA v3.0.142013 May 20
- BotDetect ASP Classic CAPTCHA v3.0.142013 May 20



