Ricardo, In Pontoon we use patched Silme to parse/serialize most of Mozilla formats (dtd, properties, ini): http://hg.mozilla.org/l10n/silme/ https://wiki.mozilla.org/Silme
-Matjaž On Sat, Jul 18, 2015 at 7:04 PM, Ricardo Palomares Martínez < [email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hi, > > I'm in the process of writing a replacement for MozillaTranslator. > Nothing disruptive in the frontend, since it keeps being a Java > Desktop tool. The changes are in the persistence (a Java SQL > database, Derby, managed with JPA), the internal datamodel, which I > expect to allow L20n in the future, and more extensive and standard > help features for users (a glossary manager and a better translation > memory). > > I have tight constraints as this is my final year project (I'm 20 > years delayed) and I have to reach a close-to MozillaTranslator > feature pairing by the end of August. I'm already using SAX to parse > DTDs in a very similar way than MozillaTranslator does, and I might > be forced to copy the parser for Properties files (which I also use > for INI files), but I wonder if Mozilla has some parser code for > Properties and INI files that I could browse to write a Java > version. BNF grammar files could work, too, as I could give it a try > to some parser generators like ANTLR. > > TIA > > - -- > Proyecto NAVE > Mozilla Localization Project, es-ES Team > http://www.proyectonave.es/ > Diaspora: [email protected] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > > iQIVAwUBVaqHM4fHLsWWKpy0AQgoww/8CT0puoPj9XbhiixQF/zILhd8mYhPuPLx > V1QaDS8mKI11CI0IXxKYx/193C7fgGmR+36iGjU3vqjZ6HSdXejI8OMwQ6UJmlL5 > PR3z8kLvyiKL6QjAtXY/OWQYRHJ9jRln7OI+LRIC6vOAqg1WTGfGtJYxIUkCy935 > 7VpOR9zedZSR9lR3MXgfUmVZcb6YYGoZpMhcnPvqE/+NhjI/e28zjAa3b3ZvOt0h > ZgkP4aQ8Nf/OvXGZi6RntnCphHSKdUSHi5NT6ov6lqzs1yeJdFW3jl7gXcoHdnzd > 70xS/EoND4ODfLeh0T2ebwuJWtZnSMBo5ZDTOjt170v+1KPwLqK83PgsVLyugslr > EnX7ya77BF9urfWp6wFEwQkdPp/E/IJ67bq1LBi1qDpOvm58qkh57ePLms5PbRiq > UywSmV9LQUFFzyrTrljXFnoCGRGISSmxZ0jztiIjggfB10ot+ht3rOpqHMx1oTJV > yb3UdMRVjV3kU6mpwKLEwcHZLbkLjAo6iXbQ7ohGeVjiISLq5CznO72lhSaDOx17 > L/A20edsWfSfKR+m3EHTAHI9xPUUE846eI0g3KuFcQDO0JCSmzHcaK3fe9rmxJvp > OK8N7jpwLvuexIXHABeZTBmb3+Waxg5otol3nGDgLmH8d6srqM1Z/S6f8IYksakm > 1ZksOG/ArhA= > =qcF7 > -----END PGP SIGNATURE----- > _______________________________________________ > tools-l10n mailing list > [email protected] > https://lists.mozilla.org/listinfo/tools-l10n > _______________________________________________ tools-l10n mailing list [email protected] https://lists.mozilla.org/listinfo/tools-l10n
