WordPress.org

Support

Support » Installation » cannot redefine translate() How do i remove Translation API?

cannot redefine translate() How do i remove Translation API?

  • Hi

    not a professional developer or programmer, so please bare with me.

    I have used Softaculous to install WP in the root directory of an OSCommerce site. But I have hit an error I can’t seem to remove:

    Translate() is a function already used on the site, so as WP uses it too I get the error :

    Fatal error: Cannot redeclare translate() (previously declared in ….. wp-includes/l10n.php:67)

    So I replaced ALL translate() functions in l10n.php with translateblog() instead. But then got this error:

    Fatal error: Call to undefined method NOOP_Translations::translateblog() in ….. /wp-includes/l10n.php on line 82

    Having a WordPress translation is not big on my priority list. Removing the Translation API would probably be simpler right now. How do I do it?

    Thanks in advance.

  • The topic ‘cannot redefine translate() How do i remove Translation API?’ is closed to new replies.