BotDetect CAPTCHA Hebrew Localization

This page contains the details of Hebrew Captcha locales fully supported by BotDetect, for which there are both localized Captcha images and audio Captcha sounds available.

Supported Hebrew CAPTCHA Locales

Hebrew CAPTCHA

Captcha Locale overview:

Language Country BotDetect Locale settings
Hebrew Israel he, he-IL

Examples and specifications of individual Captcha feature localizations:

Hebrew Localized CAPTCHA Images

Example Captcha images generated by BotDetect using the base Hebrew 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 Hebrew 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 Hebrew -->
    <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="he" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Hebrew    
    ExampleCaptcha.Locale = "he";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Hebrew    
    ExampleCaptcha.Locale = "he"

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

    <botDetect locale="he" 

    Since Hebrew text is drawn right-to-left, you should also set the appropriate text direction on the textbox element used for Captcha code retyping:

    <asp:TextBox ID="CaptchaCodeTextBox" runat="server" dir="rtl"></asp:TextBox>
  • In Java applications, you can use either the application web.xml configuration file setting:
    <context-param>
      <param-name>BDC_locale</param-name>
      <param-value>he</param-value>
    </context-param>
    
    or the Captcha object instance-specific value:
    exampleCaptcha.setLocale("he"); 
    
    or Standard / Facelets JSF Captcha Tag page source:
    <botDetect:jsfCaptcha id="exampleCaptcha" locale="he"
    
    or JSP Captcha Tag page source:
    <botDetect:captcha id="exampleCaptcha" locale="he"
    

    Since Hebrew text is drawn right-to-left, you should also set the appropriate text direction on the textbox element used for Captcha code retyping:

    <input name="captchaCode" type="text" id="captchaCode" dir="rtl" />
  • 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 Hebrew
    BotDetect.Locale = "he"
    or the Captcha object instance-specific value:
    <%
      Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha")
      ExampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Hebrew
      ExampleCaptcha.Locale = "he"
      Response.Write ExampleCaptcha.Html
    %>

    Since Hebrew text is drawn right-to-left, you should also set the appropriate text direction on the textbox element used for Captcha code retyping:

    <input name="CaptchaCode" type="text" id="CaptchaCode" dir="rtl" />
  • 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 Hebrew
    $BDC_CaptchaConfig->Locale = 'he';
    or the Captcha object instance-specific value:
    <?php 
      $ExampleCaptcha = new Captcha("ExampleCaptcha");
      $ExampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Hebrew
      $ExampleCaptcha->Locale = 'he';
      echo $ExampleCaptcha->Html(); 
    ?>

    Since Hebrew text is drawn right-to-left, you should also set the appropriate text direction on the textbox element used for Captcha code retyping:

    <input name="CaptchaCode" type="text" id="CaptchaCode" dir="rtl" />

Hebrew Localized Audio CAPTCHA Sounds

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

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

Hebrew Localized CAPTCHA Codes

The he-IL Captcha locale uses the default Hebrew character set, consisting of 21 characters.

Unicode Captcha Codes and Font Requirements

This table on the left uses the actual Unicode characters drawn in localized Captcha images.

Displaying these characters in your browser requires having fonts which support them installed on the client machine.

In ASP.NET and ASP Classic versions of BotDetect, generating localized Captcha images using these characters also requires supporting fonts on your server.

If viewing these characters in your browser or generating them in Captcha images on your server fails, you can enable the required localization support for on both client and server machines using Control Panel:

Windows 2000, XP, 2003 Server: Regional and Language Options → Languages → Supplemental language support.

Windows Vista, 7, 2008 Server: Region and Language → Keyboards and Languages → Install/uninstall languages.

CodeStyle.Alpha Hebrew CAPTCHA Characters
Unicode code point Name Character
0x05D0 alef א
0x05D1 bet ב
0x05D2 gimel ג
0x05D3 dalet ד
0x05D4 he ה
0x05D5 vav ו (not used)
0x05D6 zayin ז
0x05D7 het ח
0x05D8 tet ט
0x05DB kaf כ
0x05DC lamed ל
0x05DE mem מ
0x05E0 nun נ
0x05E1 samekh ס
0x05E2 ayin ע
0x05E4 pe פ
0x05E6 tsadi צ
0x05E7 qof ק
0x05E8 resh ר
0x05E9 shin ש
0x05EA tav ת
CodeStyle.Numeric Hebrew 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 Hebrew CAPTCHA Characters
Unicode code point Name Character
0x05D0 alef א
0x05D1 bet ב
0x05D2 gimel ג
0x05D3 dalet ד
0x05D4 he ה
0x05D5 vav ו (not used)
0x05D6 zayin ז
0x05D7 het ח
0x05D8 tet ט
0x05DB kaf כ
0x05DC lamed ל
0x05DE mem מ
0x05E0 nun נ
0x05E1 samekh ס
0x05E2 ayin ע
0x05E4 pe פ
0x05E6 tsadi צ
0x05E7 qof ק
0x05E8 resh ר
0x05E9 shin ש
0x05EA tav ת
0x0030 zero 0
0x0031 one 1(not used)
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

Current BotDetect Versions