Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 09-10-2017, 03:34   #1
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 120
Protected files?

Because I tried to "integrate" the Dutch manual into OCPN, I tried to change someting in:

C:/Program%20Files%20(x86)/OpenCPN/doc/help_en_US.html .

But changes are not accepted. Is this file protected against overwriting?

Aart
from the Netherlands
__________________

Aart K. is offline   Reply With Quote
Old 09-10-2017, 04:27   #2
Registered User

Join Date: Jul 2010
Location: Kalamata, Greece
Boat: Amel Sharki
Posts: 1,997
Re: Protected files?

doc/help_en_US.html is hard coded in the sources. It is not foreseen to use any other language than english. That is one of the many lacks of OCPN.
To use your own language therefore the name of the main help file must still be doc/help_en_US.html and it must include the correct links to other files and pictures. Otherwise it does not work.

Gerhard
__________________

CarCode is offline   Reply With Quote
Old 09-10-2017, 05:12   #3
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 120
Re: Protected files?

Gerhard,

I tried as you discribed.

I used a html editorI only and changed one word in the content of the original help_en_US.html document an I leaved the name of the file unchanged, it does not work. Changed document is not accepted.

When I use a new html document (with other content) and give it the name help_en_US.html it is accepted. But when I open Help in OCPN not the new content is opened but automaticaly help_web.html is opened.

Aart
from the Netherlands
Aart K. is offline   Reply With Quote
Old 09-10-2017, 05:22   #4
Registered User

Join Date: Jul 2010
Location: Kalamata, Greece
Boat: Amel Sharki
Posts: 1,997
Re: Protected files?

Might be your html editor is the devil. html files are plain text and you can use any normal editor for ascii. Other editors sometimes include unknown code. I always write my html files with a plain editor and never with something else. Some knowledge of the html language might be usefull but it is very easy to learn.
For my own version of OCPN I use however the help system of macOS and not a browser to show the files. The macOS help system is similear to html.

Gerhard
Attached Thumbnails
Click image for larger version

Name:	OCPN-help.jpg
Views:	36
Size:	406.4 KB
ID:	157389  
CarCode is offline   Reply With Quote
Old 09-10-2017, 05:54   #5
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 120
Re: Protected files?

@ Gerhard (and others)

I think I found where the problem was. My new document was a .htm

I changed it in .html and now it works.

See my screenprint. This is waht you get when you open the Help. There now are 3 choices. The Dutch manual is now also "embedded".

Aart
from the Netherlands
Attached Thumbnails
Click image for larger version

Name:	Knipsel.PNG
Views:	38
Size:	208.4 KB
ID:	157390  
Aart K. is offline   Reply With Quote
Reply

Tags
rot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Predictwind´s .pwr files to .grb files? andreas.mehlin Navigation 0 16-02-2017 07:03
Sun Resistant Sail Fabric (UV protected) Lin Pardey General Sailing Forum 4 25-02-2012 17:01
Protected Anchorage in Toms River, NJ AYF Atlantic & the Caribbean 3 06-09-2009 07:49
adequate protected reserve bouyancy schoonerdog Multihull Sailboats 5 12-10-2006 05:19

Advertise Here


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:54.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
×

ShowCase vBulletin Plugins by Drive Thru Online, Inc.