Cruisers Forum

Join CruisersForum Today

Thread Tools Rate Thread Display Modes
Old 08-10-2010, 06:20   #1
Registered User

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 332
Translation for Plugins

A problem was suggested recently in the i18n thread:

How will translations be handled for plugins?

Should separate language files be created with a different gettext domain & all such things required for separation?

Or should token strings be included in the main translation files?

The first solution is the most powerfull because plugins can be upgraded separately so can be the translation without requiring to rebuild all language files for the whole OpenCPN gettext domain. This will require (slightly) more work.

The second will make translations easier. But plugins may also come for third party, external source and so will no be "localisable" without importing token strings in the main language files (then plugins are no more really third party...)

I guess the first solution is the right way to go.

Please suggest & comment. Thanks
SethDart is offline   Reply With Quote
Old 08-10-2010, 07:19   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,883
second that - if we want to allow third party plug-ins, it's probably the only way

nohal is offline   Reply With Quote

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
Some Thoughts About the Plugins (Structure) Netsurfer OpenCPN 5 02-08-2010 14:30

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

All times are GMT -7. The time now is 05:07.

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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.