Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] language strings for mini calendar module

[SOLVED] language strings for mini calendar module 9 years 3 months ago #24048

  • bdonner
  • bdonner's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 128
  • Thank you received: 2
I run DT Register 3.0.9a on Joomla 3.3.6, and I enabled a DT Register mini-calendar module on my pages. The name of the months remain in English no matter what the site, menu or module language is configured as. The lang-LANG_com_dtregister.ini files include full month names, but translating them does not help. The module has no language files. Where do I find the strings for the month names in the calndar module?

Regards Ben

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

Last Edit: by nathan.dth.

language strings for mini calendar module 9 years 3 months ago #24051

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
The month names come from the component language file... /language/en-GB/en-GB.com_dtregister.ini

Look for...

DT_JAN_FULL="January"

DT_FEB_FULL="February"

DT_MAR_FULL="March"

DT_APR_FULL="April"

DT_MAY_FULL="May"

DT_JUN_FULL="June"

DT_JUL_FULL="July"

DT_AUG_FULL="August"

DT_SEP_FULL="September"

DT_OCT_FULL="October"

DT_NOV_FULL="November"

DT_DEC_FULL="December"

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .

language strings for mini calendar module 9 years 2 months ago #24171

  • bdonner
  • bdonner's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 128
  • Thank you received: 2
Hi, yes these are the ones that are not translated.

Also, the Calendar View menu item uses the english language file for strings for full name months, three characters months and the names of weekdays. All other strings in the calendars seem to translate OK. I have checked the finnish language file and there are no errors in it. Exact copying of tags from the english language file to a clean (empty) finnish language file and altering the translation does not change the parsed output, but changing the words in the english file does. Allt translations in the original finnish file, though, both before and after the translations that do not work, works fine.

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

Last Edit: by bdonner. Reason: new finds

language strings for mini calendar module 9 years 1 month ago #24200

  • georgiedekker
  • georgiedekker's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
I'm having the same problem for a clients website.
Also DT Register doesn't allow me to add "new event date". the datepicker doesn't show.
Also I would like to be able to keep the error reporting on default settings.

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

language strings for mini calendar module 9 years 1 month ago #24245

  • georgiedekker
  • georgiedekker's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 1
I think the php that needs to be changed is this:
found in /modules/mod_dt_calendar/ajax.php

$database= & Jfactory::getDBO();
//Get the list of created dtregister events
$tables = $database->getTableList();
$table_name = $database->getPrefix()."jevents_vevdetail";
$month_array = array('DT_JAN_FULL'=>"January",

'DT_FEB_FULL'=>"February",

'DT_MAR_FULL'=>"March",

'DT_APR_FULL'=>"April",

'DT_MAY_FULL'=>"May",

'DT_JUN_FULL'=>"June",

'DT_JUL_FULL'=>"July",

'DT_AUG_FULL'=>"August",

'DT_SEP_FULL'=>"September",

'DT_OCT_FULL'=>"October",

'DT_NOV_FULL'=>"November",

'DT_DEC_FULL'=>"December");

and I think it should look something like:

<?php echo JText::_( 'DT_DEC_FULL'); ?>

I've tried various versions of using JText in the array, but none worked.
please help me out with this one.

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

Last Edit: by georgiedekker.

language strings for mini calendar module 9 years 1 month ago #24247

  • nathan.dth
  • nathan.dth's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1857
  • Karma: 19
  • Thank you received: 218
We are already looking at this to change what is needed for the new release. A new update will be out by the weekend for DT Register... including modules and plugins. We'll make sure this issue is addressed as part of it. It's one of a couple final items being addressed before release.

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

Nathan is no longer affiliated with DTH since the recent acquisition. You can connect with him and get any type of Joomla website help at www.JoomlaEmployee.com .
Time to create page: 0.135 seconds