helpGNU gettext - Support: sr #109175, mo2json conversion.

 
 

sr #109175: mo2json conversion.

Submitted by:  Markus Gothe <nihilus>
Submitted on:  Thu 27 Oct 2016 09:17:39 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 21 Dec 2016 06:46:11 PM UTC, comment #1:

I don't understand two things:

1) Why would anyone convert PO -> MO -> JSON in two steps, rather than PO -> JSON directly in one step? This two-step conversion creates intermediate .mo files that have to be removed.

2) How would this fit into the big picture of localization support in JavaScript? I've started a mail thread about this at http://lists.gnu.org/archive/html/bug-gettext/2016-12/msg00039.html

Bruno Haible <haible>
Project Administrator
Thu 27 Oct 2016 09:17:39 AM UTC, original submission:

Dear gettext hackers, I found myself in the position where I need to convert .mo files to the JSON format used by JED.js.

AFAIK the path to achieve this is:
1) Create write-json.{c,h}
2) Create mo2json based on msgunfmt

Is there something I've forgotten here?

Markus Gothe <nihilus>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Posted a comment)
  • -unavailable- added by nihilus (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 21 Dec 2016 06:46:11 PM UTChaibleOperating SystemGNU/Linux=>None

    Back to the top


    Powered by Savane 3.1-cleanup1