German Translation error? - Plugin-Translation-Issue

Phoca Maps - displaying maps in Joomla! CMS
mike@uumm.de
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Feb 2010, 22:33

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

Post by mike@uumm.de »

additional info:
If I debug the language / installation I see that the language file is loaded for the backend and for the component. But not for the plugin. The rights in the directory are set equal for all language files.

But if I set the lanuage to english, also the english language file isn't loaded ??

debug info: (english frontend)

Code: Select all

•Untranslated Strings Diagnostic•

AN UNKNOWN ERROR OCCURRED	plgContentPhocaMaps::onPrepareContent()	[:]
FROM ADDRESS	plgContentPhocaMaps::onPrepareContent()	[:]
GET ROUTE	plgContentPhocaMaps::onPrepareContent()	[:]
GOOGLE MAP ENABLE JAVASCRIPT	plgContentPhocaMaps::onPrepareContent()	[:]
NO CORRESPONDING GEOGRAPHIC LOCATION COULD BE FOUND FOR ONE OF THE SPECIFIED ADDRESSES	plgContentPhocaMaps::onPrepareContent()	[:]
NO QUERY WAS SPECIFIED IN THE INPUT	plgContentPhocaMaps::onPrepareContent()	[:]
REQUEST COULD NOT BE SUCCESSFULLY PARSED	plgContentPhocaMaps::onPrepareContent()	[:]
REQUEST COULD NOT BE SUCCESSFULLY PROCESSED	plgContentPhocaMaps::onPrepareContent()	[:]
ROUTE CANNOT BE RETURNED DUE TO LEGAL OR CONTRACTUAL REASONS	plgContentPhocaMaps::onPrepareContent()	[:]
THE GIVEN KEY HAS GONE OVER THE REQUESTS LIMIT OR HAS SUBMITTED TOO MANY REQUESTS IN TOO SHORT A PERIOD OF TIME	plgContentPhocaMaps::onPrepareContent()	[:]
THE GIVEN KEY IS EITHER INVALID OR DOES NOT MATCH THE DOMAIN FOR WHICH IT WAS GIVEN	plgContentPhocaMaps::onPrepareContent()	[:]
THERE IS NO ROUTE AVAILABLE BETWEEN THE TWO POINTS, OR THERE IS NO DATA FOR ROUTING IN THAT REGION	plgContentPhocaMaps::onPrepareContent()	[:]

•Untranslated Strings Designer•

# ??Unknown file??

AN UNKNOWN ERROR OCCURRED=An unknown error occurred
FROM ADDRESS=From Address
GET ROUTE=Get Route
GOOGLE MAP ENABLE JAVASCRIPT=GOOGLE MAP ENABLE JAVASCRIPT
NO CORRESPONDING GEOGRAPHIC LOCATION COULD BE FOUND FOR ONE OF THE SPECIFIED ADDRESSES=No corresponding geographic location could be found for one of the specified addresses
NO QUERY WAS SPECIFIED IN THE INPUT=No query was specified in the input
REQUEST COULD NOT BE SUCCESSFULLY PARSED=Request could not be successfully parsed
REQUEST COULD NOT BE SUCCESSFULLY PROCESSED=Request could not be successfully processed
ROUTE CANNOT BE RETURNED DUE TO LEGAL OR CONTRACTUAL REASONS=Route cannot be returned due to legal or contractual reasons
THE GIVEN KEY HAS GONE OVER THE REQUESTS LIMIT OR HAS SUBMITTED TOO MANY REQUESTS IN TOO SHORT A PERIOD OF TIME=The given key has gone over the requests limit or has submitted too many requests in too short a period of time
THE GIVEN KEY IS EITHER INVALID OR DOES NOT MATCH THE DOMAIN FOR WHICH IT WAS GIVEN=The given key is either invalid or does not match the domain for which it was given
THERE IS NO ROUTE AVAILABLE BETWEEN THE TWO POINTS, OR THERE IS NO DATA FOR ROUTING IN THAT REGION=There is no route available between the two points, or there is no data for routing in that region


regard
Mike
mike@uumm.de
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Feb 2010, 22:33

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

Post by mike@uumm.de »

Problem fixed!

The following line of code was missing in function onPrepareContent:

JPlugin::loadLanguage( 'plg_content_phocamaps' );

Now the translations is correct and all string are loaded.

8)

Pleas add to next release.

Regards
Mike
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48535
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok, I will fix it for the next version.

Thank you for the information.

Jan
If you find Phoca extensions useful, please support the project
Post Reply