WordPress.org

Ready to get started?Download WordPress

Forums

Changing standard WP text (in english) (6 posts)

  1. Marcus
    NetWebLogic Support
    Posted 5 years ago #

    Hi,

    I'd like to change some of the default WP text that not defined in the templates.

    An example is the option that says "ERROR: Enter a username or e-mail address." which is defined in /wp-login.php line 65, but this could essentially be any line in the PHP.

    It's not a problem if you use translations, but what if you want to change it in English? I can't find an English translation, as I guess that's the easiest... don't like the aspect of filtering 'the_content' every script call... any ideas anyone?

  2. Josh Leuze
    Member
    Posted 5 years ago #

    You can create a custom localization, it doesn't have to be another language.

    You can start from the English language pack and "translate" it with your custom text. Then you can install your custom language pack instead of the default.

    A little hint, you don't have to county and language code like "pt_BR", you could tell WordPress to use "hack", as long as it matches the language file!

  3. Marcus
    NetWebLogic Support
    Posted 5 years ago #

    jleuze, thanks for the info...

    Where can I find the english language pack?

  4. Marcus
    NetWebLogic Support
    Posted 5 years ago #

  5. Josh Leuze
    Member
    Posted 5 years ago #

    No problem, good luck 'net!

  6. I just stumbled into this randomly and it's true. What a great little easter egg.

Topic Closed

This topic has been closed to new replies.

About this Topic