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

TOPIC: Where are the language files?

Where are the language files? 13 years 7 months ago #8915

  • licausse
  • licausse's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
I want to translate the "Pay later" option, and the information tooltip says that "If you want to change the text of these options, you can do so in the language files. You need to make the same exact change in both frontend and backend languages files."
Where are those language files? I couldn't find them.


e/ Oh, and how could I change the default country when registering to an event?

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

Where are the language files? 13 years 7 months ago #8920

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
The language files are found here:

FRONTEND -
/language/en-GB/en-GB.com_dtregister.ini

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

To change the default country... locate the file country.htm in /components/com_dtregister.
This contains the list of countries to choose from. Scroll down to find United States. You'll see:
<option value="United States" selected="selected">United States</option>

Remove the code: selected="selected"

Insert the selected value into the option tag for the country you want to be the default option.

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

Where are the language files? 13 years 7 months ago #8938

  • licausse
  • licausse's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Thanks a lot!

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

Where are the language files? 13 years 4 months ago #10466

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
By the way, if are using a different language, just change the "en-GB" as seen above to whatever your language tag is. For example, you will find the French files in Joomla's French language directory...

FRONTEND:
/language/fr-FR/fr-FR.com_dtregister.ini

BACKEND:
/administrator/language/fr-FR/fr-FR.com_dtregister.ini

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

Where are the language files? 12 years 11 months ago #13351

  • PanosK
  • PanosK's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
There isn't any file country.htm in /components/com_dtregister.

Where i can find it?

One more thing is that i translated the .ini file in my language (greek) but i had also to translate the joofish files, to achieve the expected result?

Why is that?

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

Where are the language files? 12 years 11 months ago #13357

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
No, there is no country.htm file. That was used in older DT Register versions to populate the country dropdown field. As all fields are managed by you in the fields manager, this is not needed. You control the Country field and what it includes.

The .ini language files control all text displayed from the code. The Joomfish translations control text that comes from the database. Of course, .ini files don't touch anything stored in the database, which includes event names, category names, field data, etc.

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

  • Page:
  • 1
  • 2
Time to create page: 0.115 seconds