Page 2 of 3

Re: German Translation error? - Plugin-Translation-Issue

Posted: 18 Oct 2009, 10:57
by Jan
Hi, so the problem is finding the language string not to change the core code. Maybe there is problem while installing the plugin. Try to copy the language ini file to both langauge folders:


language/de-DE/
administrator/language/de-DE/

I don't know it exactly, but maybe this can be a bug in Joomla! (not loading a lang string for plugins), maybe there is some information on joomla.org

Jan

Re: German Translation error? - Plugin-Translation-Issue

Posted: 30 Oct 2009, 09:33
by jamfx
Hi Jan,

once more. In both files the language-codes are translated. They are not in Uppercase, but I also tried switching it to uppercase. The result: just showing the Upper-Case-Code but not the string.
It's about line 225 in phocamaps.php

Code: Select all

$output.=' <input name="pmsubmit'.$mC.'" type="submit" value="'.JText::_('GET ROUTE').'" /></form></div>';
in language-file:

Code: Select all

GET ROUTE=Route berechnen
And shown on the page is: GET ROUTE
So what can we do now? :)

Thanks once more.
JamFX

Re: German Translation error? - Plugin-Translation-Issue

Posted: 30 Oct 2009, 14:19
by Jan
seems like you have some problem with language loading. the string in the JText is not case sensitive and can be upper but lower case too.

Re: German Translation error? - Plugin-Translation-Issue

Posted: 30 Oct 2009, 14:40
by jamfx
Hi,
yes, it seems like. But i have this on all tested pages I tried it with... I tried different servers but always the same issue. So I am a little curious, do you have any more idea what I could do?

Thanks
JamFX

Re: German Translation error? - Plugin-Translation-Issue

Posted: 30 Oct 2009, 18:33
by Jan
:( no as I am testing it on my winxp, suse localhost and my freebsd server and everywhere there is no problem with translation :-(

Re: German Translation error? - Plugin-Translation-Issue

Posted: 16 Jan 2010, 23:13
by Heimi
Hello Jan,

i have the same Problem. It seems that the Code of the php file is shown without translation. At first i tried to put the german translation into the english ini but no effect! At Second i changed the php-file by inserting a blank into the "JText::_"-String it will be shown directly. Do you have any idea why the ini-file is not being used?

Peter

Re: German Translation error? - Plugin-Translation-Issue

Posted: 19 Jan 2010, 00:10
by Jan
Hi, no idea, try to check your installation of Joomla! Try to see if the ini is on right place, if it has right name, see:
https://www.phoca.cz/documents/46-transl ... -in-joomla

Jan

Re: German Translation error? - Plugin-Translation-Issue

Posted: 08 Feb 2010, 23:00
by mike@uumm.de
Hi Jan,

I didn't find a solution for the "bug" with the german translation but maybe this hint can help.

I've installed both, the component and the plugin (and both language packages). Then I have creadted a Menu Itme which uses the map (Type: Phoca Maps » Map), Here the translation for the route works fine.

Next is an arcticle where I include den Plugin (Type: Articles » Beitrag). The same map is included using the code {phocamaps view=map|id=1} . In the article the translation doesn't work.

The translation in the Admin aera works fine.

I've tried it on a opensuse and a sun solaris machine with apache and php5 with your actual release, both installations with the same result.

Any Idea?

Thanx
Mike

If you want to take a look, send me a mail. I'll give you a link to my test site.

Re: German Translation error? - Plugin-Translation-Issue

Posted: 09 Feb 2010, 10:56
by Jan
Hi, maybe try to check the translation of the plugin if it was installed - if it is in the right folder.

Jan

Re: German Translation error? - Plugin-Translation-Issue

Posted: 09 Feb 2010, 21:15
by mike@uumm.de
Hi Jan,

looks good:

pwd: language
find . -type f -iname "*phoca*"
./de-DE/de-DE.com_phocamaps.ini
./de-DE/de-DE.plg_content_phocamaps.ini
./de-DE/de-DE.com_phocamaps.menu.ini
./en-GB/en-GB.com_phocamaps.ini
./en-GB/en-GB.plg_content_phocamaps.ini
./en-GB/en-GB.com_phocamaps.menu.ini

Any idea?
Thanx for the support
Mike