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
German Translation error? - Plugin-Translation-Issue
- Jan
- Phoca Hero
- Posts: 48913
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: German Translation error? - Plugin-Translation-Issue
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 61
- Joined: 08 Mar 2009, 09:26
- Contact:
Re: German Translation error? - Plugin-Translation-Issue
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
in language-file:
And shown on the page is: GET ROUTE
So what can we do now?
Thanks once more.
JamFX
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>';
Code: Select all
GET ROUTE=Route berechnen
So what can we do now?

Thanks once more.
JamFX
http://www.nik-o-mat.de - JoomlaTipps, Translations and Hints, also for other computerstuff.
http://www.twitter.com/nikomatoriginal - nik-o-mat - Twitter
http://www.twitter.com/nikomatoriginal - nik-o-mat - Twitter
- Jan
- Phoca Hero
- Posts: 48913
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: German Translation error? - Plugin-Translation-Issue
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.
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 61
- Joined: 08 Mar 2009, 09:26
- Contact:
Re: German Translation error? - Plugin-Translation-Issue
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
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
http://www.nik-o-mat.de - JoomlaTipps, Translations and Hints, also for other computerstuff.
http://www.twitter.com/nikomatoriginal - nik-o-mat - Twitter
http://www.twitter.com/nikomatoriginal - nik-o-mat - Twitter
- Jan
- Phoca Hero
- Posts: 48913
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: German Translation error? - Plugin-Translation-Issue


If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 16 Jan 2010, 22:52
Re: German Translation error? - Plugin-Translation-Issue
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
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
- Jan
- Phoca Hero
- Posts: 48913
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: German Translation error? - Plugin-Translation-Issue
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
https://www.phoca.cz/documents/46-transl ... -in-joomla
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 08 Feb 2010, 22:33
Re: German Translation error? - Plugin-Translation-Issue
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.
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.
- Jan
- Phoca Hero
- Posts: 48913
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: German Translation error? - Plugin-Translation-Issue
Hi, maybe try to check the translation of the plugin if it was installed - if it is in the right folder.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 4
- Joined: 08 Feb 2010, 22:33
Re: German Translation error? - Plugin-Translation-Issue
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
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