Web Service

There is also a Web service which returns a JSON file instead of an HTML page : Glossaire Web service

To use it, you have to pass the argument directly on the URL as it is done on the regular glossary (look at the URL after a search) :

http://transvision.frenchmozilla.org/index.php?recherche=report&locale=fr&repo=beta

Will become in the Web service :

http://transvision.frenchmozilla.org/glossaire_webservice.php?recherche=report&locale=fr&repo=beta

New in this version

  • New and unique URL : http://transvision.frenchmozilla.org/,
  • You can search in the “Release”, “Beta”, “Aurora” and “Trunk” repositories,
  • You can switch your language directly on the web page,
  • The TMX files used in this version are now available.

Repositories and Channels

Behind the scene, the “Release” and “Beta” en-US repositories come directly from hg.mozilla.org, the “Aurora” and “Trunk” repositories come from the hg.mozilla.org.tr (thanks to them for the work). The repositories, the TMX files and the glossary are updated each night at 2.00AM (UT+2).

The code is in the hg repo.

Work in Progress

What is removed for now :

  • doublon/duplicate script (I’ll try to re-add it latter)
  • Alignment script, I’ll try to re-add it directly on the same page via an option
  • hg.frenchmozilla.org and hg-trunk.frenchmozilla.org are now inactive (I don’t think a lot of people used it anyway).

Future of this tool

  • Re-add alignment on the same page
  • Add a term to term automatic glossary
  • Re-add the duplicate search script
  • Treat the html in the glossary correctly
  • If there is a popular demand, compare not only the en-US to a locale, but also between locales (useful for language with more than one locale ?).

Feedbacks

Feel free to contact me (on this thread or by email) if you find any error/bug or if you think there is a feature missing.

As usual, I’m not an HTML guru nor a good designer, if someone feels that he can improve the design, go ahead :) That’s also true for the code.