CF7DBPlugin_i18n_init

Initialize internationalization (i18n) for this plugin.

Description

CF7DBPlugin_i18n_init(); 

References: http://codex.wordpress.org/I18n_for_WordPress_Developers http://www.wdmac.com/how-to-create-a-po-language-translation#more-631


Usage

  1. if ( !function_exists( 'CF7DBPlugin_i18n_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-db/contact-form-7-db.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = CF7DBPlugin_i18n_init(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/contact-form-7-db.php  
  1. function CF7DBPlugin_i18n_init() { 
  2. $pluginDir = dirname(plugin_basename(__FILE__)); 
  3. load_plugin_textdomain('contact-form-7-to-database-extension', false, $pluginDir . '/languages/');