BotDetect CAPTCHA Hungarian Localization

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

Supported Hungarian CAPTCHA Locales

Hungarian CAPTCHA

Captcha Locale overview:

Language Country BotDetect Locale settings
Hungarian Hungary hu, hu-HU

Examples and specifications of individual Captcha feature localizations:

Hungarian 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 Hungarian 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.php file:
    // Set the default Locale for all Captcha instances in the 
    // PHP application to Hungarian
    $LBD_CaptchaConfig->Locale = 'hu';
    or the Captcha object instance-specific value:
    <?php 
      $SampleCaptcha = new Captcha("SampleCaptcha");
      $SampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Hungarian
      $SampleCaptcha->Locale = 'hu';
      echo $SampleCaptcha->Html(); 
    ?>
  • In ASP.NET applications, you can use either the .aspx page source:
    <!-- Captcha control localized to Hungarian -->
    <BotDetect:Captcha ID="SampleCaptcha" runat="server" Locale="hu" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Hungarian    
    SampleCaptcha.Locale = "hu";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Hungarian    
    SampleCaptcha.Locale = "hu"

    Locale-dependent Captcha strings can be configured in the <botDetect> Web.config configuration section.

  • 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 Hungarian
    LBD_Configuration_Locale = "hu"
    or the Captcha object instance-specific value:
    <%
      Dim SampleCaptcha : Set SampleCaptcha = (New Captcha)("SampleCaptcha")
      SampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Hungarian
      SampleCaptcha.Locale = "hu"
      Response.Write SampleCaptcha.Html
    %>

Hungarian Localized Audio CAPTCHA Sounds

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

To use BotDetect sounds localized for the Hungarian Captcha Locale, you should also download the Hungarian 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\BotDetectSounds by default. A custom folder can be specified in the <botDetect> configuration section.
  • 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.

Hungarian Localized CAPTCHA Codes

The hu-HU Captcha locale uses a modified version of the Latin character set, without Q, W, X and Y.

CodeStyle.Alpha Hungarian CAPTCHA Characters
Unicode code point Name Character
0x0041 a A
0x0042 be B
0x0043 ce C
0x0044 de D
0x0045 e E
0x0046 ef F (not used)
0x0047 ge G (not used)
0x0048 ha H
0x0049 i I (not used)
0x004A jot J
0x004B ka K
0x004C el L (not used)
0x004D em M
0x004E en N
0x004F o O
0x0050 pe P
0x0052 er R
0x0053 es S
0x0054 te T
0x0055 u U
0x0056 vau V
0x005A zet Z
CodeStyle.Numeric Hungarian 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 Hungarian CAPTCHA Characters
Unicode code point Name Character
0x0041 a A
0x0042 be B
0x0043 ce C
0x0044 de D
0x0045 e E
0x0046 ef F (not used)
0x0047 ge G (not used)
0x0048 ha H
0x0049 i I (not used)
0x004A jot J
0x004B ka K
0x004C el L (not used)
0x004D em M
0x004E en N
0x004F o O (not used)
0x0050 pe P
0x0052 er R
0x0053 es S
0x0054 te T
0x0055 u U
0x0056 vau V
0x005A zet 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.