How can i override the text in the user login box?

For example:
Change: 'Username:' to 'Email.'
Change: 'Create new account' to 'Join Now!'

I would also like to override the text displayed in:
www.example.com/user/password
www.example.com/user

Help appreciated!
elLoco

Comments

Dublin Drupaller’s picture

Hi El Loco..

For something like that, I would tend to recommend creating your own "custom language" for your site - because "username" and "create new account" appears in numerous instances on a Drupal site and it might become a pain overriding every theme function just to change the text.

Here's how to do it, step-by-step:

  1. install & enable the LOCALE.MODULE (allows you to translate text strings throughout your site)
  2. Go to ADMINISTER -->> LOCALISATION and Create a new custom language. (such as mysite custom english)
  3. Enable that language as default.
  4. Click on MANAGE STRINGS and search for the text string 'Username' *
  5. Change it to what ever you want

*You need to have the Search.module enabled and the search index at 100% for the locale module to find the strings you want.

hope that helps

dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

elLoco’s picture

Super good and simple way to change the text!
Thanks a lot Dub!

---
El Loco