Translations and i18n issues
-
Hi,
1) your load the text domain function
load_plugin_textdomain( ‘it-l10n-better-wp-security’, false, trailingslashit( $itsec_globals[‘plugin_dir’] ) . ‘lang’ );isn’t working properly, the .mo files aren’t getting fetch in the lang folder of the plugin or break the plugin if included in wp-content/languages/plugins
2) your pot and translations files have wrong names. Your slug is “it-l10n-better-wp-security”
3) Based on your header file
Text Domain: it-l10n-better-wp-security
Domain Path: languages -> it should be lang thenIs there any way to fix your i18n integration, thanks
To test it out define(‘WPLANG’, ‘es_ES’); in your config.php file is your friend
Thanks in advance
- The topic ‘Translations and i18n issues’ is closed to new replies.