BotDetect CAPTCHA Vietnamese Localization

This page contains the details of Vietnamese Captcha (việt Captcha) locales fully supported by BotDetect, for which there are both localized Captcha images and audio Captcha sounds available.

Supported Vietnamese CAPTCHA Locales

Vietnamese CAPTCHA

Captcha Locale overview:

Language Country BotDetect Locale settings
Vietnamese Vietnam vi, vi-VN

Examples and specifications of individual Captcha feature localizations:

Vietnamese 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 Vietnamese 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 Vietnamese -->
    <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="vi" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Vietnamese    
    ExampleCaptcha.Locale = "vi";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Vietnamese    
    ExampleCaptcha.Locale = "vi"

    or Locale-dependent Captcha strings can be configured on application level in the <botDetect> Web.config configuration section:

    <botDetect locale="vi" 
  • In Java applications, you can use either the application web.xml configuration file setting:
    <context-param>
      <param-name>BDC_locale</param-name>
      <param-value>vi</param-value>
    </context-param>
    
    or the Captcha object instance-specific value:
    exampleCaptcha.setLocale("vi"); 
    
    or Standard / Facelets JSF Captcha Tag page source:
    <botDetect:jsfCaptcha id="exampleCaptcha" locale="vi"
    
    or JSP Captcha Tag page source:
    <botDetect:captcha id="exampleCaptcha" locale="vi"
    
  • 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 Vietnamese
    BotDetect.Locale = "vi"
    or the Captcha object instance-specific value:
    <%
      Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha")
      ExampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Vietnamese
      ExampleCaptcha.Locale = "vi"
      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 Vietnamese
    $BDC_CaptchaConfig->Locale = 'vi';
    or the Captcha object instance-specific value:
    <?php 
      $ExampleCaptcha = new Captcha("ExampleCaptcha");
      $ExampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Vietnamese
      $ExampleCaptcha->Locale = 'vi';
      echo $ExampleCaptcha->Html(); 
    ?>

Vietnamese Localized Audio CAPTCHA Sounds

Example audio Captcha sounds generated by BotDetect using the Vietnamese Locale setting can be heard in the BotDetect Captcha features demo

To use BotDetect sounds localized for the Vietnamese Captcha Locale, you should also download the Vietnamese 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 the web.xml configuration file setting.
  • ASP Classic applications use Redistribute\BotDetectSounds in the BotDetect installation folder by default. A custom folder can be specified in the BotDetect/CaptchaConfig.asp file.
  • PHP applications always use lib/botdetect/Resources/Sounds.

Vietnamese Localized CAPTCHA Codes

The vi-VN Captcha locale uses a modified version of the Latin character set without F,J,W,Z characters, for a total of 22 alpha characters.

CodeStyle.Alpha Vietnamese CAPTCHA Characters
Unicode code point Name Character
0x0041 a A
0x0042 bê, bờ B
0x0043 xê, cờ C
0x0044 dê, dờ D
0x0045 e E
0x0047 giê, gờ G (not used)
0x0048 hát, hờ H
0x0049 i ngắn I (not used)
0x004B ca K
0x004C e-lờ L (not used)
0x004D em-mờ M
0x004E en-nờ N
0x004F o O
0x0050 P
0x0051 cu, quy Q (not used)
0x0052 e-rờ R
0x0053 ét-sì, sờ S
0x0054 tê, tờ T
0x0055 u U
0x0056 vê, vờ V
0x0058 ích-xì X
0x0059 i dài, i-cờ-rét Y
CodeStyle.Numeric Vietnamese 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 Vietnamese CAPTCHA Characters
Unicode code point Name Character
0x0041 a A
0x0042 bê, bờ B
0x0043 xê, cờ C
0x0044 dê, dờ D
0x0045 e E
0x0047 giê, gờ G (not used)
0x0048 hát, hờ H
0x0049 i ngắn I (not used)
0x004B ca K
0x004C e-lờ L (not used)
0x004D em-mờ M
0x004E en-nờ N
0x004F o O (not used)
0x0050 P
0x0051 cu, quy Q (not used)
0x0052 e-rờ R
0x0053 ét-sì, sờ S
0x0054 tê, tờ T
0x0055 u U
0x0056 vê, vờ V
0x0058 ích-xì X
0x0059 i dài, i-cờ-rét Y
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