 |
|
16-04-2013, 13:35
|
#541
|
Registered User
Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
|
Re: OpenCPN Internationalization ( i18n )
German language files for celestial_navigation_pi, delete doc extension.
|
|
|
16-04-2013, 20:36
|
#542
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,455
|
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?
|
|
|
16-04-2013, 20:55
|
#543
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,295
|
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
|
|
|
18-04-2013, 02:03
|
#544
|
Registered User
Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
|
Re: OpenCPN Internationalization ( i18n )
German language files for weather_routing_pi, delete doc extension.
|
|
|
18-04-2013, 23:56
|
#545
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,455
|
Re: OpenCPN Internationalization ( i18n )
I added weather routing german file to git
|
|
|
19-04-2013, 15:43
|
#546
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,067
|
Re: OpenCPN Internationalization ( i18n )
hello,
here french file language for WMM DEpagnier
B.R.
Gilletarom
|
|
|
19-04-2013, 16:09
|
#547
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,067
|
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.
|
|
|
19-04-2013, 16:41
|
#548
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,067
|
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.
|
|
|
19-04-2013, 16:46
|
#549
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,067
|
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.
|
|
|
19-04-2013, 16:48
|
#550
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,455
|
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
|
|
|
19-04-2013, 17:05
|
#551
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,067
|
Re: OpenCPN Internationalization ( i18n )
hello,
Quote:
Originally Posted by boat_alexandra
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.
|
|
|
20-04-2013, 07:29
|
#552
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,067
|
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.
|
|
|
20-04-2013, 17:44
|
#553
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,455
|
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.
|
|
|
21-04-2013, 05:51
|
#554
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,230
|
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.
|
|
|
21-04-2013, 07:43
|
#555
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,455
|
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?
|
|
|
 |
|
Thread Tools |
Search this Thread |
|
|
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
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|