WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. tbgfw
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic