Phoca

Phoca extensions are free extensions and are made and supported in freetime. Because of time issue, please accept the following "rules":
  • • Before you ask, try to read documentation or search this forum, as many questions are answered repeatedly
  • • Check if your server meets all the necessary requirements
  • • Sometimes, topics in this forum cannot be answered immediately
  • • Some questions are answered shortly as the information can be found in documentation (Phoca or Joomla! documentation)
  • • If you have problem on your site, please paste the link to your site or link a screenshot of your site (with help of imageshack, etc.)
  • • If you get blank page or error 500 on your site, please try to enable error reporting on or see your error log and paste this error message into the topic (see How to enable displaying php errors on site, try to check your SEF
  • • If you think, you found a bug, try to describe it or suggest a fix for such bug
  • • If you miss some feature of Phoca extension, please paste a topic on feedback site, if some of Phoca extensions, you have downloaded and installed, doesn't fit your needs, just uninstall it.
  • Thank you for understanding, Jan

German Translation error? - Plugin-Translation-Issue

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

Postby jamfx on 18 Oct 2009, 08:49

Hi Jan,

as far as I can see, these languagestrings are translated in the german ini-files, but not used by the plugin or the component... Here is the problem.

Yours JamFX
http://www.nik-o-mat.de - JoomlaTipps, Translations and Hints, also for other computerstuff.
http://www.twitter.com/nikomatoriginal - nik-o-mat - Twitter
jamfx
Phoca Member
Phoca Member
 
Posts: 20
Joined: 08 Mar 2009, 09:26

Google Ads


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

Postby Jan on 18 Oct 2009, 10:57

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
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 14462
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

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

Postby jamfx on 30 Oct 2009, 09:33

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
http://www.nik-o-mat.de - JoomlaTipps, Translations and Hints, also for other computerstuff.
http://www.twitter.com/nikomatoriginal - nik-o-mat - Twitter
jamfx
Phoca Member
Phoca Member
 
Posts: 20
Joined: 08 Mar 2009, 09:26

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

Postby Jan on 30 Oct 2009, 14:19

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 some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 14462
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

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

Postby jamfx on 30 Oct 2009, 14:40

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
http://www.nik-o-mat.de - JoomlaTipps, Translations and Hints, also for other computerstuff.
http://www.twitter.com/nikomatoriginal - nik-o-mat - Twitter
jamfx
Phoca Member
Phoca Member
 
Posts: 20
Joined: 08 Mar 2009, 09:26

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

Postby Jan on 30 Oct 2009, 18:33

:( no as I am testing it on my winxp, suse localhost and my freebsd server and everywhere there is no problem with translation :-(
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 14462
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

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

Postby Heimi on 16 Jan 2010, 23:13

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
Heimi
Phoca Newbie
Phoca Newbie
 
Posts: 3
Joined: 16 Jan 2010, 22:52

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

Postby Jan on 19 Jan 2010, 00:10

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:
http://www.phoca.cz/documents/46-transl ... -in-joomla

Jan
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 14462
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

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

Postby mike@uumm.de on 08 Feb 2010, 23:00

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.
mike@uumm.de
Phoca Newbie
Phoca Newbie
 
Posts: 4
Joined: 08 Feb 2010, 22:33

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

Postby Jan on 09 Feb 2010, 10:56

Hi, maybe try to check the translation of the plugin if it was installed - if it is in the right folder.

Jan
If you find some Phoca extensions useful, please vote for them on: extensions.joomla.org
User avatar
Jan
Phoca Hero
Phoca Hero
 
Posts: 14462
Joined: 10 Nov 2007, 18:23
Location: Czech Republic

PreviousNext

Return to Phoca Maps

Who is online

Users browsing this forum: No registered users and 1 guest