 |
|
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?
__________________
|
|
|
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
__________________
|
|
|
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
__________________
|
|
|
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?
__________________
|
|
|
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.
__________________
|
|
|
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.
__________________
|
|
|
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.
__________________
|
|
|
11-06-2012, 11:39
|
#143
|
|
Registered User
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...
__________________
|
|
|
20-06-2012, 13:35
|
#144
|
|
Registered User
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
__________________
|
|
|
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
__________________
|
|
|
08-01-2013, 10:16
|
#146
|
|
Registered User
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.
__________________
|
|
|
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
But it was necessary to use zlib1.dll AND libexpat.dll
|
Yes, obviously, as said in the post.
Quote:
Originally Posted by Gilletarom
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
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
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!
__________________
|
|
|
 |
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|