Title: Adding allowed language
Last modified: February 18, 2017

---

# Adding allowed language

 *  Resolved [wpkiller](https://wordpress.org/support/users/wpkiller/)
 * (@wpkiller)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/adding-allowed-language/)
 * Hi There,
 * You have a great feature, allowing only specific languages in the comments.
    
   I would like to add another language (Hebrew) which is not in the current list(
   English, German, Italian, French, Spanish) – is there a way to do it?
 * Or better yet, would you please include an option to input a specific language
   to allow, and even be able to allow more than one language, as you’ve did with
   the allowed countries with their ISO codes format.
 * Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/adding-allowed-language/#post-8822477)
 * Hi!
 * I think it should be possible to add Hebrew, because the underlying Translation
   API from Google is supporting Hebrew: [https://cloud.google.com/translate/docs/languages](https://cloud.google.com/translate/docs/languages)
 * I’ve added an Github Issue for this:
    [https://github.com/pluginkollektiv/antispam-bee/issues/132](https://github.com/pluginkollektiv/antispam-bee/issues/132)
 * Maybe we can add an filter in a future release, so it would be easier to change
   this value in the future. Or an option like you suggested.
 * All the best,
    Torsten
 *  Thread Starter [wpkiller](https://wordpress.org/support/users/wpkiller/)
 * (@wpkiller)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/adding-allowed-language/#post-8823177)
 * Thank you! That would be wonderful.
 *  Plugin Contributor [websupporter](https://wordpress.org/support/users/websupporter/)
 * (@websupporter)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/adding-allowed-language/#post-9054773)
 * Hi [@wpkiller](https://wordpress.org/support/users/wpkiller/),
    in the version
   2.7.1 you can add additional languages through a filter. So you can add a simple
   code snippet into your child theme to add Hebrew (more information here: [https://github.com/pluginkollektiv/antispam-bee/wiki/en-Hooks#user-content-ab_get_allowed_translate_languages](https://github.com/pluginkollektiv/antispam-bee/wiki/en-Hooks#user-content-ab_get_allowed_translate_languages))
 * We decided for now against hardcoding new languages, because we are not sure 
   how to bring this in a good UX (a select field with 3,4 languages is okay, but
   with 30 it will become a bit a bad UX).
 * In case of Hebrew, we are not quite sure, if you should use `he` or `iw`. Wikipedia
   says the correct ISO-code would be `he`, but in the related Google doc (for the
   translation API) it states `iw`. So, give both a try, if you are stuck 🙂
 * If you do not know, how to add the code into your functions.php, this seems to
   be a good tutorial: [http://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/](http://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/)
 * All the best,
    David.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Adding allowed language’ is closed to new replies.

 * ![](https://ps.w.org/antispam-bee/assets/icon-256x256.png?rev=2898402)
 * [Antispam Bee](https://wordpress.org/plugins/antispam-bee/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/antispam-bee/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/antispam-bee/)
 * [Active Topics](https://wordpress.org/support/plugin/antispam-bee/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/antispam-bee/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/antispam-bee/reviews/)

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [hebrew](https://wordpress.org/support/topic-tag/hebrew/)
 * [language](https://wordpress.org/support/topic-tag/language/)

 * 3 replies
 * 3 participants
 * Last reply from: [websupporter](https://wordpress.org/support/users/websupporter/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/adding-allowed-language/#post-9054773)
 * Status: resolved