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 16-04-2013, 12:35   #541
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Internationalization ( i18n )

German language files for celestial_navigation_pi, delete doc extension.
Attached Files
File Type: doc celestial_navigation_pi-po-mo-DE.zip.doc (5.1 KB, 63 views)
CarCode is offline   Reply With Quote
Old 16-04-2013, 19:36   #542
Registered User

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

I'm new to internationalization (speaker of 1 language).. What is the mo file for? Isn't it generated from the po file? Does it need to be in git, no other plugins have them, so I think in the future I only need .po files correct?
seandepagnier is offline   Reply With Quote
Old 16-04-2013, 19:55   #543
Registered User

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

Sean...
Correct, .mo is binary gettext file (in our case automatically generated during the build) no need to care about it - it's the file used at runtime. You just need to have the <LC>.po files in the po subdir of the plugin source tree and maintain POTFILES.in with a list of source files containing localizable strings. POTFILES.in is used to generate the .pot translation template by the <plugin>-pot-update make target.

Pavel
nohal is offline   Reply With Quote
Old 18-04-2013, 01:03   #544
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Internationalization ( i18n )

German language files for weather_routing_pi, delete doc extension.
Attached Files
File Type: doc weather_routing_pi-po-mo-DE.zip.doc (7.0 KB, 58 views)
CarCode is offline   Reply With Quote
Old 18-04-2013, 22:56   #545
Registered User

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

I added weather routing german file to git
seandepagnier is offline   Reply With Quote
Old 19-04-2013, 14:43   #546
Registered User
 
Gilletarom's Avatar

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

hello,

here french file language for WMM DEpagnier

B.R.

Gilletarom
Gilletarom is offline   Reply With Quote
Old 19-04-2013, 15:09   #547
Registered User
 
Gilletarom's Avatar

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

hello,

here a first version of french language file for Weather fax plug in.


This first translation is quite rude and should be improved. Unable to test it, in the absence of technical means, this first version is online here.

If French users through here and are willing to test their contribution would be welcome.

Best regards

Gilletarom.
Gilletarom is offline   Reply With Quote
Old 19-04-2013, 15:41   #548
Registered User
 
Gilletarom's Avatar

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

hello,

here a first version of french language file for Celestial navigation plug in.


This first translation is quite rude and should be improved. Unable to test it, in the absence of technical means, this first version is online here.

If French users through here and are willing to test their contribution would be welcome.

Best regards

Gilletarom.
Gilletarom is offline   Reply With Quote
Old 19-04-2013, 15:46   #549
Registered User
 
Gilletarom's Avatar

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

hello,

Sorry file not join.

here a first version of french language file for Weather fax plug in.


This first translation is quite rude and should be improved. Unable to test it, in the absence of technical means, this first version is online here.

If French users through here and are willing to test their contribution would be welcome.

Best regards

Gilletarom.
Attached Files
File Type: doc french_language_file_Weather_fax_Preversion.zip.doc (10.7 KB, 46 views)
Gilletarom is offline   Reply With Quote
Old 19-04-2013, 15:48   #550
Registered User

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

it seems like all the french translations are in a single file.. I'll try to sort it out

.mo files are generated from the .po so I don't need them
seandepagnier is offline   Reply With Quote
Old 19-04-2013, 16:05   #551
Registered User
 
Gilletarom's Avatar

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

hello,

Quote:
Originally Posted by boat_alexandra View Post
it seems like all the french translations are in a single file.. I'll try to sort it out

.mo files are generated from the .po so I don't need them
I always pass on the po and mo. This allows developers to make the necessary development and beta testers that interested immediately implement the language file.
Gilletarom is offline   Reply With Quote
Old 20-04-2013, 06:29   #552
Registered User
 
Gilletarom's Avatar

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

Hello weatherfax plugin developpers,

I have realize a french version of po file and mo file. But, when I use these two files, the plugin remains in english.

So à thing that the names that I used for the two files are bads.

Normally, to get the name of the po file, take the name of the pot file and add "-opencpn" before.
In the case of weatherfax plugin, it must give: opencpn-weatherfax_pi.po.

This does not work with the latest dll weatherfax file I loaded.

What about?

B.R.

Gilletarom.
Gilletarom is offline   Reply With Quote
Old 20-04-2013, 16:44   #553
Registered User

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

I need to figure out how to test the translations so I can fix these types of problems. I still only have english in the list.

On the site it says something about extra libraries needed on linux but fails to mention which ones.
seandepagnier is offline   Reply With Quote
Old 21-04-2013, 04:51   #554
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:
On the site it says something about extra libraries needed on linux but fails to mention which ones
I looked at the po file directory in

calculator_pi
calculator_pi.pot
create_pot_from_source.sh
POTFILES.in
lots of
grib_pi
grib_pi.pot
(...no create_pot_from_source.sh)
POTFILES.in
weatherfax has
weatherfax_pi.pot
POTFILES.in
( ...no create_pot_from_source.sh)
de.po
Don't know if this willl help, but is there something that needs to be added in the cmake?

Quote:
IF (GETTEXT_XGETTEXT_EXECUTABLE)
ADD_CUSTOM_COMMAND(
OUTPUT po/${PACKAGE_NAME}.pot.dummy...

AND

IF (GETTEXT_MSGMERGE_EXECUTABLE)
FILE(GLOB PACKAGE_PO_FILES po/*.po)
GETTEXT_UPDATE_PO(po/${PACKAGE_NAME}.pot ${PACKAGE_PO_FILES})
ENDIF(GETTEXT_MSGMERGE_EXECUTABLE)...
Actually, I checked the cmake.txt in weatherfax_pi and it looks like the po, pot and mo commands are there. --Don't know enough about this to help.
rgleason is offline   Reply With Quote
Old 21-04-2013, 06:43   #555
Registered User

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

I have the po and mo files, I just do not have any option besides english in the combo in the options.

Anyone one use languages besides english on linux?
seandepagnier is offline   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 13:24.


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.