BotDetect CAPTCHA Latvian Localization
This page contains the details of Latvian Captcha (Latviešu Captcha) locales fully supported by BotDetect, for which there are both localized Captcha images and audio Captcha sounds available.
Supported Latvian CAPTCHA Locales
Latvian CAPTCHA
Captcha Locale overview:
Language | Country | BotDetect Locale settings |
---|---|---|
Latvian | Latvia | lv |
Examples and specifications of individual Captcha feature localizations:
- Latvian localized Captcha images
- Latvian localized audio Captcha sounds
- Latvian localized Captcha codes
Latvian 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 Latvian Captcha Locale in your application, you can specify the Locale value:
- In ASP.NET applications, you can use either the
.aspx
page source:<!-- Captcha control localized to Latvian --> <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="lv" />
or the page code-behind:[C#] // Set the Captcha instance Locale to Latvian ExampleCaptcha.Locale = "lv";
[VB.NET] ' Set the Captcha instance Locale to Latvian ExampleCaptcha.Locale = "lv"
or Locale-dependent Captcha strings can be configured on application level in the
<botDetect>
Web.config configuration section:<botDetect locale="lv"
- In Java applications, you can use either the application
web.xml
configuration file setting:<context-param> <param-name>BDC_locale</param-name> <param-value>lv</param-value> </context-param>
or the Captcha object instance-specific value:exampleCaptcha.setLocale("lv");
or Standard / Facelets JSF Captcha Tag page source:<botDetect:jsfCaptcha id="exampleCaptcha" locale="lv"
or JSP Captcha Tag page source:<botDetect:captcha id="exampleCaptcha" locale="lv"
- In ASP Classic applications, you can use either the application-global setting in the
BotDetect\CaptchaConfig.asp
file:' Set the default Locale for all Captcha instances in the ' Classic ASP application to Latvian BotDetect.Locale = "lv"
or the Captcha object instance-specific value:<% Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha") ExampleCaptcha.UserInputID = "CaptchaCode" ' Set the Captcha object instance Locale to Latvian ExampleCaptcha.Locale = "lv" Response.Write ExampleCaptcha.Html %>
- In PHP applications, you can use either the application-global setting in the
lib/botdetect/CaptchaConfigDefaults.php
file:// Set the default Locale for all Captcha instances in the // PHP application to Latvian $BDC_CaptchaConfig->Locale = 'lv';
or the Captcha object instance-specific value:<?php $ExampleCaptcha = new Captcha("ExampleCaptcha"); $ExampleCaptcha->UserInputID = "CaptchaCode"; // Set the Captcha object instance Locale to Latvian $ExampleCaptcha->Locale = 'lv'; echo $ExampleCaptcha->Html(); ?>
Latvian Localized Audio CAPTCHA Sounds
Example audio Captcha sounds generated by BotDetect using the Latvian Locale setting can be heard in the BotDetect Captcha features demo
To use BotDetect sounds localized for the Latvian Captcha Locale, you should also download the Latvian Pronunciation Sound Package and deploy the .bdsp
file to the BotDetect sounds folder your application uses:
- ASP.NET applications use
Bin\BotDetectSounds
by default. A custom folder can be specified in the<botDetect>
configuration section. - Java applications use
WEB-INF\BotDetectSounds
by default. A custom folder can be specified in theweb.xml
configuration file setting. - ASP Classic applications use
Redistribute\BotDetectSounds
in the BotDetect installation folder by default. A custom folder can be specified in theBotDetect/CaptchaConfig.asp
file. - PHP applications always use
lib/botdetect/Resources/Sounds
.
Latvian Localized CAPTCHA Codes
The lv
Captcha locale uses the default Latin character set without the Q,W,X,Y characters, for a total of 22 alpha characters.
CodeStyle.Alpha Latvian CAPTCHA Characters
Unicode code point | Name | Character |
---|---|---|
0x0041 |
a | A |
0x0042 |
bē | B |
0x0043 |
cē | C |
0x0044 |
dē | D |
0x0045 |
e | E |
0x0046 |
ef | F (not used) |
0x0047 |
gā | G (not used) |
0x0048 |
hā | H |
0x0049 |
i | I (not used) |
0x004A |
jē | J |
0x004B |
kā | K |
0x004C |
el | L (not used) |
0x004D |
em | M |
0x004E |
en | N |
0x004F |
o | O |
0x0050 |
pē | P |
0x0052 |
er | R |
0x0053 |
es | S |
0x0054 |
tē | T |
0x0055 |
u | U |
0x0056 |
vē | V |
0x005A |
zē | Z |
CodeStyle.Numeric Latvian CAPTCHA Characters
Unicode code point | Name | Character |
---|---|---|
0x0030 |
nulle | 0 |
0x0031 |
viens | 1 |
0x0032 |
divi | 2 |
0x0033 |
trīs | 3 |
0x0034 |
četri | 4 |
0x0035 |
pieci | 5 |
0x0036 |
seši | 6 |
0x0037 |
septiņi | 7 (not used) |
0x0038 |
astoņi | 8 |
0x0039 |
deviņi | 9 |
CodeStyle.Alphanumeric Latvian CAPTCHA Characters
Unicode code point | Name | Character |
---|---|---|
0x0041 |
a | A |
0x0042 |
bē | B |
0x0043 |
cē | C |
0x0044 |
dē | D |
0x0045 |
e | E |
0x0046 |
ef | F (not used) |
0x0047 |
gā | G (not used) |
0x0048 |
hā | H |
0x0049 |
i | I (not used) |
0x004A |
jē | J |
0x004B |
kā | K |
0x004C |
el | L (not used) |
0x004D |
em | M |
0x004E |
en | N |
0x004F |
o | O (not used) |
0x0050 |
pē | P |
0x0052 |
er | R |
0x0053 |
es | S |
0x0054 |
tē | T |
0x0055 |
u | U |
0x0056 |
vē | V |
0x005A |
zē | Z (not used) |
0x0030 |
nulle | 0 (not used) |
0x0031 |
viens | 1 (not used) |
0x0032 |
divi | 2 (not used) |
0x0033 |
trīs | 3 |
0x0034 |
četri | 4 |
0x0035 |
pieci | 5 |
0x0036 |
seši | 6 |
0x0037 |
septiņi | 7 (not used) |
0x0038 |
astoņi | 8 |
0x0039 |
deviņi | 9 |
Current BotDetect Versions
-
BotDetect ASP.NET CAPTCHA
2019-07-22v4.4.2 -
BotDetect Java CAPTCHA
2019-07-22v4.0.Beta3.7 -
BotDetect PHP CAPTCHA
2019-07-22v4.2.5