patchGNU Gengetopt - Patches: patch #9928, l18n support

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9928: l18n support

Submitter:  GrĂ©goire Scano <gscano>
Submitted:  Mon 27 Apr 2020 07:05:57 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Wed 29 Apr 2020 03:27:19 PM UTC, comment #1: 

Just ack that I've noticed this, will try to look into it over weekend and get back to you. But thank you for the work you've put into this!

Gray Wolf <gray_wolf>
Group administrator
Mon 27 Apr 2020 07:05:57 AM UTC, original submission:  

Based on a previous work by Tim Marston, this patch enables l18n support using the default automake/gettext layout.
The associated feature/l18n branch can be checked out here for a more convenient merge.

Following, there are decisions on optional actions that require maintainer's approval:

A) contact the translationproject.org to set up the program page and upload the pot file. I could then provide a French translation so that you can experiment the l10n workflow;
B) share the catalog with gengetopt users so that their translators won't have to translate strings contained in skeleton files by using gengetopt translations as a compendium. However, there are two ways of doing it:
1) waive your own copyright received from translators (by asking for the disclaimer) and put translations in the public domain; or,
2) generate a shared catalog in the public domain and keep gengetopt specific strings under your copyright.

Remaining work to achieve for:
B.1: add skeleton files to POTFILES to make sure every string in embedded even those not used by gengetopt itself. Add skeleton files to the dist files so they are found by xgettext in a dist build;
B.2: create a second pot file made of skeleton files then modify the build process to use associated translations as a compendium for the original pot file and then modify dist rules to package the shared catalog and certainly some more. It is quite painful to implement due to the complex interactions with autopoint generated scripts it would require (see branch feature/l18n-shared-catalog for a tentative).

Grégoire Scano <gscano>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #48952:  l18n.zip added by gscano (34KiB - application/zip)
file #48953:  shared.diff added by gscano (12KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray_wolf (Posted a comment)
  • -email is unavailable- added by gscano (Submitted the item)
  • -email is unavailable- added by gscano (l18n support)
  • -email is unavailable- added by gscano (l18n support)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-27 gscano Attached File- Added l18n.zip, #48952
        Attached File- Added shared.diff, #48953
        Carbon-Copy- Added gray_wolf
        Carbon-Copy- Added gscano

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code