Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Translation 2.0

De MoodleDocs
La revisió el 14:29, 22 juny 2009 per Helen Foster (discussió | contribucions) (petr's proposal copied from http://moodle.org/mod/forum/discuss.php?d=118707 see also, template, category)
(dif.) ← Versió més antiga | Versió actual (dif.) | Versió més nova → (dif.)
Salta a:navegació, cerca

Note: This article is a work in progress. Please use the page comments or an appropriate moodle.org forum for any recommendations/suggestions for improvement.


This evolving page summarises proposals to change the translation process in Moodle 2.0 based on community suggestions in the discussion Translators heads up: proposals to change the Moodle translation process.

Petr's proposal

  • Store every lang string in one central database with as much info as possible
  • Keep the old rule that no string meaning may change
  • en_utf8 lang in main cvs is the master - it already has branches
  • Generate/commit lang cvs files directly from main database - do not allow translators to commit any more
  • Translators upload standard modified lang files - server sorts out the branches automatically (it learns everything from en packs) i.e. Translators just translate... and, from time to time, click a "Send lang package" button. That packages the whole moodledata/lang/xx_utf8 and sends it to moodle.org where it's analysed and split into n commits (each lang string to its branches)

Benefits:

  • 100% backwards compatibility
  • Translation process does not need to change at all - file upload instead of commit only
  • Branching is transparent - we need to maintain it in en_utf8 pack
  • This would allow us to cleanup HEAD/lang/en_utf8/*
  • It allows completely new translation UIs and processes

Implementation:

  • Moodle module on moodle.org

See also