Cruisers Forum
 


Join CruisersForum Today

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

Join Date: Mar 2010
Location: Normandy, France
Boat: Flush Poker, 8.25m (Point Barre)
Posts: 335
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, 08:19   #2
Registered User

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

Pavel
__________________
nohal is online now   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
Some Thoughts About the Plugins (Structure) Netsurfer OpenCPN 5 02-08-2010 15:30



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.