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:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-11 haible StatusNone => Need Info
    2016-12-21 haible Operating SystemGNU/Linux => None

    Back to the top


    Powered by Savane 3.3