2015-03-25, 03:42:28
Small plugin that allows using Slogans without I18N:
Save as no_i18n_patch_slogans.php (for example), upload to your plugins folder and activate it.
Important note: this plugin/patch is NOT compatible with the I18N Search plugin.
Code:
<?php
// register plugin
$thisfile = basename(__FILE__, ".php");
register_plugin(
$thisfile,
'No-I18N patch for Slogans',
'0.1', 'Carlos', '#', 'Allows using Slogans plugin without I18N base installed'
);
function return_i18n_available_languages() { return array('en'); }
function return_i18n_languages() { return array('en'); }
function return_i18n_default_language() { return 'en'; }
//end of file
Important note: this plugin/patch is NOT compatible with the I18N Search plugin.