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

TOPIC: Where are the language files?

Where are the language files? 8 years 1 week ago #14082

  • benspun
  • benspun's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Karma: 3
  • Thank you received: 2
Once everything is translated in joomfish, and dt register translation files are in place, is it possible to show a translated version of the 'Details', 'Register', 'View all events', etc. buttons?

Thanks!

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

Where are the language files? 8 years 1 week ago #14083

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
The text on the buttons is not actual text... it is part of the image. So you need to replace the actual image. However, there is not presently a manner where you can load different images via JoomFish for a multi-language site.

You need to set DT Register to use TEXT instead of IMAGES for the buttons. You'll find that in the main configuration. Then in the CSS file:

/components/com_dtregister/assets/css/main.css

...you can modify the styling of these text links. You can make them LOOK like buttons with CSS styling. To show them in multiple language translations, this is the route you'll need to go.

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

Where are the language files? 8 years 6 days ago #14087

  • benspun
  • benspun's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Karma: 3
  • Thank you received: 2
Great, thanks for the quick answer! I will therefore go for text & CSS option.

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

Where are the language files? 7 years 8 months ago #15419

  • scubabyss
  • scubabyss's Avatar
  • Visitor
  • Visitor
On backend,admin language file changes the text under the icons of DT regsiter control panel as well as the info-tips, however the links above the DT regsiter control panel still remain in English.
Where are those texts located ?
Attachments:

  • Rendering Error in layout Attachment/Item: Property "protected" is not defined. Please enable debug mode for more information.

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

Where are the language files? 7 years 8 months ago #15421

  • sergeweb54
  • sergeweb54's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Karma: 1
  • Thank you received: 0
you can change it on dtregister.xml before you install dtregister
For instance :
-<submenu> <menu controller="category" img="templates/khepri/images/menu/icon-16-category.png">Categories</menu>

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

Where are the language files? 7 years 5 months ago #16752

  • global
  • global's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Actually, as long as your CSS tags are fairly unique AROUND an image, you most certainly can swap images for different languages. There's a little trick using a bit of code (which I don't have handy) that you put in the head of your template. It loads a special css file based on the language loaded. I was able to do things like, swap out all the little images that were part of module styles in my particular template from english to portuguese (such as a "NEW!" corner badge).

Also, if you were to build an element plugin for DTRegister for Joomfish, it lets the user edit lots of things for each language, but you'd have to build it (and your component) so that things like buttons were changeable from the admin, and then tie those over to an element in joomfish so they were editable PER language.

(on a side note to DTH Development, the site in question is NOT the site we have you doing some custom work on).

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

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