It is currently Thu Sep 02, 2010 2:19 pm
   
Text Size

German language support does not work

Bug Reports here please

German language support does not work

Postby drummbox » Sun Mar 02, 2008 9:14 pm

I installed a fresh Joomla 1.5.1 with German as default language. I turned on the legacy Mode for Jomla1.0x compatibility.
After installing JEvent 1.4.3Rc all messages in fron at backend are still in english. How do i turn on German frontend ?

checklocale task returns:

Simple locale testing routines
Your current system locale is : de_DE.UTF-8
Joomla has set your locale as :
try out a locale string

Today's day name in this locale (de_DE) is : Sonntag
Typical unix locale values are tried out below
Sunday in Finnish (using fi_FI) is sunnuntai,
Sunday in French (using fr_FR) is dimanche
Sunday in German (using de_DE) is Sonntag.
cy_GB Sunday in Welsh (using cy_GB) is Sul.



What can I do ?

drummbox
drummbox
 
Posts: 3
Joined: Sun Mar 02, 2008 9:02 pm

Re: German language support does not work

Postby Geraint » Mon Mar 03, 2008 9:08 am

Could be that the language file name is is incompatible with the locale as specified by Joomla 1.5.

Try adding the following
Code: Select all
echo  "language file = ".$pathLang . mosMainFrame::getCfg('lang') . '.php<br/>';

at line 59 in components/com_events/libraries/helper.php and report back

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!
Geraint
 
Posts: 9920
Joined: Fri Feb 15, 2008 6:14 pm

Re: German language support does not work

Postby drummbox » Mon Mar 03, 2008 7:23 pm

The line returns:
language file = /home/evkvollma/public_html/voma151/components/com_events/language/German.php


As you see German.php starts uppercase, but the language file in the language directory starts with lowercase as german.php.

drummbox
drummbox
 
Posts: 3
Joined: Sun Mar 02, 2008 9:02 pm

Re: German language support does not work

Postby drummbox » Mon Mar 03, 2008 7:55 pm

Solved:

I changed the following line

Code: Select all
    <backwardLang>German</backwardLang>
to
    <backwardLang>german</backwardLang>


in language/de-DE/de-DE.xml (Note two files ! one for frontend and one for backend)


BTW: The basic Joomla which has this wrong language file is 'de-DE.joomla151-stable-full.zip', dated 8.Feb.08.
(just for the records, or if someone stumps over the same error).

drummbox
drummbox
 
Posts: 3
Joined: Sun Mar 02, 2008 9:02 pm

Re: German language support does not work

Postby Thomas » Fri Mar 07, 2008 11:45 pm

I put a bug report at the Joomla german translation project. They fixed it in the repository. The fix is available with the next translation release.
Thomas
Site Admin
 
Posts: 611
Joined: Mon Feb 18, 2008 11:51 am


Return to Bugs (Jevents 1.4 for 1.5.x)

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (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: No registered users and 1 guest

Login Form