Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 16-04-2013, 12:35   #541
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,669
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, 45 views)
__________________

__________________
CarCode is offline   Reply With Quote
Old 16-04-2013, 19:36   #542
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
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?
__________________

__________________
boat_alexandra is offline   Reply With Quote
Old 16-04-2013, 19:55   #543
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
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: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,669
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, 41 views)
__________________
CarCode is offline   Reply With Quote
Old 18-04-2013, 22:56   #545
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
Re: OpenCPN Internationalization ( i18n )

I added weather routing german file to git
__________________
boat_alexandra 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,213
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,213
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,213
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,213
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, 27 views)
__________________
Gilletarom is offline   Reply With Quote
Old 19-04-2013, 15:48   #550
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
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
__________________
boat_alexandra 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,213
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,213
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
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
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.
__________________
boat_alexandra 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: 8,007
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
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
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?
__________________

__________________
boat_alexandra is offline   Reply With Quote
Reply

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
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


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

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- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 06:53.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.