JEvents 1.5 (No longer actively supported)

translation doesn't work in ext

JEvents 2.0 was launched over 2 years ago and the latest stable version is version 2.2 which will run on Joomla 1.5 and Joomla 2.5. JEvents 1.5 is therefore no longer actively supported - you should upgrade to JEvents 2.2+ as soon as possible.
Forum rules
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.

First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.

We need the following at least:

* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version

Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.

Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.

Postby Tropentiger » Wed Apr 22, 2009 10:34 am

hello Geraint,

i use the ext template and some english wordphrases won't be translated. So i have to put the germain words in the php code. i checked the language files, there stands the right translation words but it doesn't work.

here the files i have to modify myself to get a german jevents overall:

views/ext/month/tmpl/calender_body.php line 32
Code: Select all
<td><h2>Monthly View</h2></td>


and libraries/filters/Category.php
Code: Select all
line 31: $this->filterLabel=JText::_("Kategorie");
line 83: $filterList["title"]=JText::_("W&auml;hle Kategorie");


libraries/filters/Justmine.php line 28 + 33
Code: Select all
   function jevJustmineFilter($tablename, $filterfield, $isstring=true,$yesLabel="Ja", $noLabel="Nein"){
          .
          .
     .
   $this->filterLabel = JText::_("Zeige nur meine Termine?");


libraries/filters/Published.php line 27 -32
Code: Select all
   function jevPublishedFilter($tablename, $filterfield, $isstring=true,$yesLabel="Ja", $noLabel="Nein"){
      $this->filterNullValue="0";
      $this->yesLabel = JText::_($yesLabel);
      $this->noLabel =  JText::_($noLabel);
      $this->filterType = "published";
      $this->filterLabel = JText::_("Zeige unver&ouml;ffentlichte Termine?");


libraries/filters/Reset.php line 33
Code: Select all
$reset["html"] = "<input type='hidden' name='filter_reset' id='filter_reset' value='0' /><input type='button' value='".JText::_("Zur&uuml;cksetzen")."' onclick='document.getElementById(\"filter_reset\").value=1;form.submit()' />";


libraries/filters/Search.php line 16
Code: Select all
$this->filterLabel=JText::_("Suche Termin");


okay the first one, there is the jtext function missing, but by the other ones i don't know why this doesn't work because other translations with the german language works fine...
Tropentiger
 
Posts: 9
Joined: Wed Mar 25, 2009 5:30 pm

Postby Tropentiger » Wed Apr 29, 2009 8:29 am

no suggestions or infos?
Tropentiger
 
Posts: 9
Joined: Wed Mar 25, 2009 5:30 pm

Postby Geraint » Wed Apr 29, 2009 9:50 am

I've change the "Monthly View" to a JText call.

Can't think why you're other translations aren't working - other sites are working fine.

Have you tried switching on Joomla language debugging and general Joomla debugging to see if there are any insights.

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42799
Joined: Fri Feb 15, 2008 6:14 pm

Postby Tropentiger » Thu Jun 25, 2009 1:16 pm

with the released version now it works, i don't know why but it's okay ;-)
the newest version did it, thanx!
Tropentiger
 
Posts: 9
Joined: Wed Mar 25, 2009 5:30 pm


Return to JEvents 1.5 (No longer actively supported)

cron
  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 2 users online :: 2 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: Bing [Bot], Google [Bot]