Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 26-04-2014, 07:56   #736
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: OpenCPN Internationalization ( i18n )

Quote:
Originally Posted by CarCode View Post
There should be a line with:
Code:
AddLocaleCatalog( _T("opencpn-br24radar_pi") );
in file br24radar_pi.cpp but it is not.
Obviously it was not made for localisations.

So you must do it yourself and prepand all strings for localisation with "_(" instead of "_T(" or "wxT(".

Gerhard
Actually there was a nice short answer! Many thanks Gerhard. The "AddLocaleCatalog" was missing. Now it works "like a charm".

Håkan
Hakan is offline   Reply With Quote
Old 11-05-2014, 00:42   #737
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,989
Re: OpenCPN Internationalization ( i18n )

Hello Dave, Hello Ptizef,

Here join last french language file for Grib_pi using last pot file (2014-05-06).
Gilletarom is offline   Reply With Quote
Old 12-05-2014, 22:35   #738
Registered User

Join Date: Mar 2014
Posts: 8
Re: OpenCPN Internationalization ( i18n )

I want to add a korean language on OpenCPN.

I translated .po from .pot, installed the korean locale on my ubuntu system and made the ko directory in /share/locale/[lang code]/LC_MESSAGES/app_name.mo.

But I can't find the korean on language in setting user interface in opencpn.

How can I append the korean on my opencpn?
onecue is offline   Reply With Quote
Old 12-05-2014, 23:38   #739
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN Internationalization ( i18n )

Quote:
Originally Posted by onecue View Post
I want to add a korean language on OpenCPN.

I translated .po from .pot, installed the korean locale on my ubuntu system and made the ko directory in /share/locale/[lang code]/LC_MESSAGES/app_name.mo.

But I can't find the korean on language in setting user interface in opencpn.

How can I append the korean on my opencpn?
I had this exact question, refer to
http://www.cruisersforum.com/forums/...ml#post1215991
seandepagnier is offline   Reply With Quote
Old 12-05-2014, 23:40   #740
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: OpenCPN Internationalization ( i18n )

Welcome Onecue!

You will have to compile and built OpenCPN to make your languange file visible and usable.
How to so this is described in the developers manual at the OCPN web site Boat_alexandra pointed you to.

And when you think your translation is ready to be used, publish the files.

If you find troubles for example dealing with non-western languages within OpenCPN, please report back at the forum.

And perhaps this answers your question in the other thread of "how to become a OpenCPN" developer as well: by doing.
Have a look, learn to compile, built and test. If you are not a software developer or programmer and want to add features by your own to the program you will need to learn this part.
But there are also a lot of contributors who document, test or just help other users. These are as well very productive and required tasks.

Hubert
bcn is offline   Reply With Quote
Old 13-05-2014, 07:57   #741
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: OpenCPN Internationalization ( i18n )

onecue...
As others pointed out the prerequisite is to have the ko_KR locale installed in your system.
Your new language file than goes to
Code:
/usr/share/locale/ko/LC_MESSAGES/opencpn.mo
Pavel
nohal is online now   Reply With Quote
Old 21-05-2014, 07:29   #742
Registered User
 
HotRod's Avatar

Join Date: Oct 2010
Location: SW Norway
Boat: Nidelv 28, 28ft
Posts: 247
Send a message via Skype™ to HotRod
Re: OpenCPN Internationalization ( i18n )

Hi folks.
I got a problem... Got 2 lines in the opencpn.po that reads "in". What does this refer to?
Line: 972 and 973

Anyone?
__________________
Best Regards
OpenCPN Norge - Norwegian OpenCPN community
Frode
HotRod is offline   Reply With Quote
Old 21-05-2014, 09:08   #743
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: OpenCPN Internationalization ( i18n )

Frode...
https://github.com/OpenCPN/OpenCPN/b..._Data.cpp#L641
as in "in that much time"
and
https://github.com/OpenCPN/OpenCPN/b...util.cpp#L4011
as in "inches"

Pavel
nohal is online now   Reply With Quote
Old 21-05-2014, 12:01   #744
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: OpenCPN Internationalization ( i18n )

Quote:
I want to add a korean language on OpenCPN.

I translated .po from .pot, installed the korean locale on my ubuntu system and made the ko directory in /share/locale/[lang code]/LC_MESSAGES/app_name.mo.

But I can't find the korean on language in setting user interface in opencpn.

How can I append the korean on my opencpn?
Also see the Dev Manual, it may help.
Internationalization | Official OpenCPN Homepage

However it should be expanded to include the Plugin's process and details.
rgleason is offline   Reply With Quote
Old 02-06-2014, 11:45   #745
Registered User

Join Date: Mar 2013
Location: Tallinn, Estonia
Posts: 16
Re: OpenCPN Internationalization ( i18n )

Hi

Estonian update for OpenCPN 3.3.1731 wiht Dashboard and Grib.

Regards
Attached Files
File Type: doc estonian 3 3 1731.zip.doc (62.5 KB, 49 views)
Highlander_et is offline   Reply With Quote
Old 05-06-2014, 09:42   #746
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: OpenCPN Internationalization ( i18n )

Dutch language files for OpenCPN 3.3.1731
Attached Files
File Type: doc opencpn_nl_NL_3.3.1731.zip.doc (58.4 KB, 60 views)
NAV is offline   Reply With Quote
Old 05-06-2014, 13:49   #747
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,989
Re: OpenCPN Internationalization ( i18n )

Hello Dave,


here join :

French file language for O 331731

French file language for GRIB plugin

French file language for Dashboard plugin
Gilletarom is offline   Reply With Quote
Old 05-06-2014, 23:29   #748
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,989
Re: OpenCPN Internationalization ( i18n )

Hello Dave,

Sorrry, do not use previous version of french language file : OpenCPN, Grib and Dashboard.

Here updated versions :
OpenCPN,
Grib
Dasboard.

B.R. Gilletarom
Gilletarom is offline   Reply With Quote
Old 07-06-2014, 10:29   #749
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: OpenCPN Internationalization ( i18n )

Dutch language files for Grib- and Dashboard plugins (OpenCPN version 3.3.1731)
Attached Files
File Type: doc dashboard_grib_NL_1731.zip.doc (17.4 KB, 49 views)
NAV is offline   Reply With Quote
Old 24-06-2014, 18:28   #750
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: OpenCPN Internationalization ( i18n )

Translators...

With version 3.3.1824 we would like to change the way OpenCPN's translations are managed.

There are a couple of reasons behind this decision:
  • Some of the translations lack considerably behind and simply miss a maintainer
  • A lot of the plug-ins lack the translations completely or almost completely
  • It is hard for more people to cooperate on a single language
  • It needs effort from people who would like to contribute their time and language skills to install Poedit, learn how to use it and get the current PO/POT files, so the less geeky types may feel that it's too much for them
  • It gets a bit messy at times to manage all the translations submitted through different channels and the time can be better spent on writing new code and fixing bugs

I have evaluated a couple of ways to improve the situation over the past weeks and ended up creating a project on Crowdin (Many thanks to these guys for generously supporting open source projects) to maintain the localizations. From now on all that you need to help us keep the translations up to date is a web browser and a bit of time.

Please join us by signing up at https://crowdin.net/project/opencpn/invite

I picked this tool because it's web interface is pretty straightforward, while maintaining the flexibility we need internally to integrate it with our code maintenance processes. As you can see from the attached screenshots, no fear is needed - this thing does not bite...

Couple of notes:
  • If you submitted a transaltion which seems not to be included, be it a newer version of something or be it one I totally missed, let me know and it will be merged to the current data.
  • If you want to translate OpenCPN to a currently unsupported language, just speak up and it will be added to the project.
  • If you want to keep using Poedit and do all the work manually, it is totally possible, keep posting the translations the old way, we can still accept them with the same amount of work as before. But please consider trying the new thing, I firmly believe it makes it easier for all of us.

As usually, all your comments are welcome

Pavel
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2014-06-24 20:07:33.png
Views:	178
Size:	159.7 KB
ID:	83708   Click image for larger version

Name:	Screenshot from 2014-06-24 20:07:57.png
Views:	171
Size:	103.6 KB
ID:	83709  

Click image for larger version

Name:	Screenshot from 2014-06-24 20:08:48.png
Views:	206
Size:	147.0 KB
ID:	83710  
nohal is online now   Reply With Quote
Reply


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
OpenCPN 2.3.0 dlymn OpenCPN 3 29-06-2011 01:44
Help with OpenCPN moggie OpenCPN 4 15-02-2011 16:18
Help with OpenCPN moggie Marine Electronics 1 10-02-2011 06:26
OpenCPN bdbcat OpenCPN 1343 19-09-2009 15:59

Advertise Here


All times are GMT -7. The time now is 15:21.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.