The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. tbgfw
    Posted 5 years ago #


    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