Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Please support our sponsors and let them know you heard about them on CruisersForum.com
Old 11-06-2012, 04:10   #136
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 85
Re: KML Overlay Plugin

Hi Jean
Why Turkish translation of KML plugin does not work even installed into the same folder with other po files?

__________________
boraxtr is offline   Reply With Quote
Old 11-06-2012, 04:29   #137
Registered User

Join Date: Mar 2010
Location: Caen, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 292
Re: KML Overlay Plugin

Looks like cmake must be run again after adding a new po file.

1. mv TRkmloverlay_pi.po.doc plugins/kmloverlay_pi/po/tr_TR.po
2. cd build/
3. cmake ../
4. make
5. sudo make install

at step 4, you should see something like:
[ xx%] kmloverlay-i18n [tr_TR]: Created mo file

Now you can change language to Turkish and see translated messages.

Does it work?

Regards,
Jean-Eudes

__________________
SethDart is offline   Reply With Quote
Old 11-06-2012, 05:49   #138
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 85
Re: KML Overlay Plugin

Quote:
Looks like cmake must be run again after adding a new po file.

1. mv TRkmloverlay_pi.po.doc plugins/kmloverlay_pi/po/tr_TR.po
2. cd build/
3. cmake ../
4. make
5. sudo make install

at step 4, you should see something like:
[ xx%] kmloverlay-i18n [tr_TR]: Created mo file
Sorry, these all are Chinese for me

I can translate and just drag the po file into the shared folder only ...

Regards,
Hasan
__________________
boraxtr is offline   Reply With Quote
Old 11-06-2012, 05:59   #139
Registered User

Join Date: Mar 2010
Location: Caen, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 292
Re: KML Overlay Plugin

Sorry, these are command line prompts ;-)

Let me rephrase it:
1. copy TRkmloverlay_pi.po.doc to plugins/kmloverlay_pi/po/ and rename it to tr_TR.po
2. run cmake again for the project to catch up the changes
3. rebuild the solution

Is it more clear?
__________________
SethDart is offline   Reply With Quote
Old 11-06-2012, 06:23   #140
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 85
Re: KML Overlay Plugin

Jean, here is what I did:
1- Dragged the kmloverlay_pi/po file into plugin folder,
2- Renamed the po file as tr_TR.po then saved, tr_TR.mo file created.
3- Moved this tr_TR.mo flile into share/local/tr_TR folder (where all the translated mo files are)

But nothing changed.
__________________
boraxtr is offline   Reply With Quote
Old 11-06-2012, 06:26   #141
Registered User

Join Date: Mar 2010
Location: Caen, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 292
Re: KML Overlay Plugin

Well, I'm confused... I described the whole installation process.

If you only want to add this language file to existing installation, then you only need to copy your xxx.mo file to share/local/tr_TR and rename it to opencpn-kmloverlay_pi.mo and it should work.
__________________
SethDart is offline   Reply With Quote
Old 11-06-2012, 10:06   #142
Registered User

Join Date: Nov 2011
Location: Istanbul
Boat: Steel, Regina, Holland, 8.70
Posts: 85
Re: KML Overlay Plugin

Good, after I renamed mo file as "opencpn-kmloverlay_pi.mo" worked.
Before it was named as "kmloverlay_pi.mo" then "tr_TR.mo".
Thank you Jean.
__________________
boraxtr is offline   Reply With Quote
Old 11-06-2012, 11:39   #143
Registered User
 
globalkeith's Avatar

Join Date: Sep 2010
Location: Zhuhai, China
Boat: Prout G55
Posts: 76
Re: KML Overlay Plugin

Thanks guys, as I'm developing my own plugin i got in the habit of doing:

$ cmake --build .

Which is only building files it already knew about...as soon as I did

$ cmake ../

It picked up the new plugin..

Thanks...
__________________
globalkeith is offline   Reply With Quote
Old 20-06-2012, 13:35   #144
Registered User
 
cagney's Avatar

Join Date: Dec 2005
Posts: 2,370
Re: KML Overlay Plugin

There is no special tracker for the KML plugin so here you go:
The KML plugin needs a small adjustment to be streamlined with the other plugins. Pressing the KML icon a second time in the ToolBar should close down the plugin.

Thomas
__________________
cagney is offline   Reply With Quote
Old 28-07-2012, 11:36   #145
Registered User

Join Date: May 2012
Posts: 34
Re: KML Overlay Plugin

For machines where the KML Overlay plugin will not load.

A messy workaround. Install Visual Studio 2008 Express Edition for C++. No need to register (I think!).


Visual Studio 2008 Express | Microsoft Visual Studio

Use the Visual C++ link.

A lot of SDK stuff etc to clutter your machine.

The only dll needed in the OpenCPN main program folder should be 'libexpat.dll'.

Jean ... have you recompiled any of the components used to make your plugin with VC10?

Best regards,

Mike



__________________
Rasbats is online now   Reply With Quote
Old 08-01-2013, 10:16   #146
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 8,50 mètres
Posts: 808
Re: KML Overlay Plugin

Hello SethDart,

I try another KML overlay with this file : kmloverlay-test_pi.dll

But it was necessary to use zlib1.dll AND libexpat.dll

So using your kmz file herm.kmz, it is Ok with your last pot file and my last french language po file.

Obviously, I adapt the language file name it is called thus: opencpn-kmloverlay-test_pi.po

See it on OpenCPN Internationalization ( i18n ) thead.
I repeat again the idea that I had already sent in a older post. It would be nice if in the preferences, there was a slider to manually change the transparency rate.

Another idea: This small window remains on the screen is annoying. If we could store ...

Best regards

Gilletarom.
__________________
Gilletarom is online now   Reply With Quote
Old 08-01-2013, 14:12   #147
Registered User

Join Date: Mar 2010
Location: Caen, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 292
Re: KML Overlay Plugin

Quote:
Originally Posted by Gilletarom View Post
But it was necessary to use zlib1.dll AND libexpat.dll
Yes, obviously, as said in the post.

Quote:
Originally Posted by Gilletarom View Post
I adapt the language file name it is called thus: opencpn-kmloverlay-test_pi.po
Well, you could've renamed the dll. I released it as a test. I had to rebuild the whole tools: libkml, expat and switch from embedded zlib/minizip to external library. To my knowledge, that made it work on the windows version that failed before (side-by-side fail)

Quote:
Originally Posted by Gilletarom View Post
I repeat again the idea that I had already sent in a older post. It would be nice if in the preferences, there was a slider to manually change the transparency rate.
Then read again my reply about that.

Quote:
Originally Posted by Gilletarom View Post
Another idea: This small window remains on the screen is annoying. If we could store ...
What are you speaking about? The replay window? You're asking to remove the only thing that allow you to control the replay (and by the way, know that you're replaying data) No comment, I don't want to be rude!

__________________
SethDart is offline   Reply With Quote
Reply

Tags
kml

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Earth Plugin r.fairman OpenCPN 399 15-05-2013 16:53
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
New IAC Fleetcode Plugin for OpenCPN CBorchardt OpenCPN 12 19-11-2011 04:41
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

RV & Travel Trailer Communities

Our RV & Travel Trailer sites encompasses virtually all types of Recreational Vehicles, from brand-specific to general RV communities.

» More about our RV Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002-2012 Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 11:14.


Social Knowledge Networks

Sailing News Delivered to your Email!

Stay up-to-date with the latest cruising news.

unsusbcribe at anytime with one click

Close [X]


ShowCase vBulletin Plugins by Drive Thru Online, Inc.