Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Help with Language Files

Help with Language Files 14 years 11 months ago #5760

  • LoriG
  • LoriG's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hi there,
I've done a search and saw that I needed to make changes to the language files in order to get rid of 'state' and 'zip' code and change to province, etc, but I don't think I've done it quite right.

I went through the files, and changed everything labelled 'state' to 'province' and same with the zip code, but now, both in the back end, and the front (I made changes to both language files) it's showing up as 'DT_STATE' and 'DT_ZIPCODE' where it used to just say state or zip code.

Every other field still appears as normal. Can you tell me what I did wrong or how to fix it?

I'm such a noob at this! :oops:

Please Log in or Create an account to join the conversation.

Help with Language Files 14 years 11 months ago #5768

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
Lori,

You should NOT modify any text items in various DT Register files. There are two language files, which are the proper and easy way to modify text throughout the component. There is a file for the frontend and one for the backend/administrator side:

FRONTEND: /language/en-GB/en-GB.com_dtregister.ini
BACKEND: /administrator/language/en-GB/en-GB.com_dtregister.ini

Thanks.

Please Log in or Create an account to join the conversation.

Help with Language Files 14 years 11 months ago #5772

  • LoriG
  • LoriG's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Thanks for the quick reply.

Those are the files that I changed. I downloaded them off the site, made the changes in notepad, and put them back up, and now I have the problem above. Is there another way I should have made the changes?

Please Log in or Create an account to join the conversation.

Help with Language Files 14 years 11 months ago #5774

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
You should not change the first part of the language item... only the 2nd part.

DT_STATE=State

To change "State" to "Province" you would change the above line from the language file to:

DT_STATE=Province

If you remove DT_STATE then you will have issues as the component looks in the language file for DT_STATE and then substitutes that with the provided text.

Please Log in or Create an account to join the conversation.

Help with Language Files 14 years 11 months ago #5776

  • LoriG
  • LoriG's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Aw! Gotcha! Thanks for clarifying!

I LOVE this component. Was definitely worth purchasing!

Please Log in or Create an account to join the conversation.

Help with Language Files 14 years 11 months ago #5779

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
No problem Lori. Glad to hear that you love DT Register :) Don't forget to post a review on the Joomla Extensions Directory!!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.357 seconds