BotDetect CAPTCHA Malay Localization

This page contains the details of Malay Captcha (Bahasa Melayu captcha) locales fully supported by BotDetect, for which there are both localized Captcha images and audio Captcha sounds available.

Supported Malay CAPTCHA Locales

Malay CAPTCHA

Captcha Locale overview:

Language Country BotDetect Locale settings
Malay Malaysia ms, ms-MY

Examples and specifications of individual Captcha feature localizations:

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

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

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

Malay Localized Audio CAPTCHA Sounds

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

To use BotDetect sounds localized for the Malay Captcha Locale, you should also download the Malay 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.

Malay Localized CAPTCHA Codes

The ms-MY Captcha locale uses the Latin character set, excluding Q, W, and Y.

CodeStyle.Alpha Malay CAPTCHA Characters
Unicode code point Name Character
0x0041 e A
0x0042 bi B
0x0043 si C
0x0044 di D
0x0045 i E
0x0046 éf F (not used)
0x0047 ji G (not used)
0x0048 héc H
0x0049 ai I (not used)
0x004A J
0x004B K
0x004C él L (not used)
0x004D ém M
0x004E én N
0x004F o O
0x0050 pi P
0x0051 kiu Q (not used)
0x0052 ar R
0x0053 és S
0x0054 ti T
0x0055 yu U
0x0056 vi V
0x0057 dabel yu W
0x0058 éks X
0x0059 wai Y
0x005A zed Z
CodeStyle.Numeric Malay CAPTCHA Characters
Unicode code point Name Character
0x0030 sifar/kosong 0
0x0031 satu 1
0x0032 dua 2
0x0033 tiga 3
0x0034 empat 4
0x0035 lima 5
0x0036 enam 6
0x0037 tujuh 7 (not used)
0x0038 lapan 8
0x0039 sembilan 9
CodeStyle.Alphanumeric Malay CAPTCHA Characters
Unicode code point Name Character
0x0041 e A
0x0042 bi B
0x0043 si C
0x0044 di D
0x0045 i E
0x0046 éf F (not used)
0x0047 ji G (not used)
0x0048 héc H
0x0049 ai I (not used)
0x004A J
0x004B K
0x004C él L (not used)
0x004D ém M
0x004E én N
0x004F o O
0x0050 pi P
0x0051 kiu Q (not used)
0x0052 ar R
0x0053 és S
0x0054 ti T
0x0055 yu U
0x0056 vi V
0x0057 dabel yu W
0x0058 éks X
0x0059 wai Y
0x005A zed Z
0x0030 sifar/kosong 0(not used)
0x0031 satu 1
0x0032 dua 2
0x0033 tiga 3
0x0034 empat 4
0x0035 lima 5
0x0036 enam 6
0x0037 tujuh 7 (not used)
0x0038 lapan 8
0x0039 sembilan 9