GSoC 2010/Projects/transifex-mobile: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>v6sa
imported>v6sa
Line 13: Line 13:
This is Google Summer of Code 2010 project which attempts to implement a translation application including heavy integration with Transifex.net web service and offline working support.
This is Google Summer of Code 2010 project which attempts to implement a translation application including heavy integration with Transifex.net web service and offline working support.


===Progress===
===Done===
 
* Logging into Transifex, session management, CSRF tokens
Since Transifex guys are a bit behind with their schedule for string-level API, I just used HTTP requests and regular expression matching to fetch the information I need. Current implementation works with Transifex.net deployment.
* Browsing projects/components/files/languages
 
* Pulling PO-files, storing them locally, pushing PO-files back to server
* Logging into Transifex, session management, CSRF tokens - done
* Editing PO-files (via polib), Google Translate, update PO-file metainfo
* Browsing projects/components/files/languages - basically done
* Transifex file locking
* Pulling PO-files, storing them locally, pushing PO-files back to server - done
* Qt4 models, views, threading, dialogs
* Editing PO-files (via polib), Google Translate, update PO-file metainfo - done
* Opening and saving local PO-files - done
* Transifex file locking - almost done
* Qt4 models, views, threading, dialogs - done, but need improvement
 
Progress since midterm evaluation:
Progress since midterm evaluation:
* Better icons so they would fit in better with N900
* Better icons so they would fit in better with N900
Line 32: Line 27:
* Show translation completeness (percentage in PO file list)
* Show translation completeness (percentage in PO file list)
* Check internet connectivity
* Check internet connectivity
* Opening and saving local PO-files


===To-do===
===To-do===

Revision as of 10:01, 5 August 2010

Transifex mobile - GSoC 2010 Project

Status updates for the project can be found on the blog: http://v6sa.wordpress.com/category/gsoc/

Project summary

This is Google Summer of Code 2010 project which attempts to implement a translation application including heavy integration with Transifex.net web service and offline working support.

Done

  • Logging into Transifex, session management, CSRF tokens
  • Browsing projects/components/files/languages
  • Pulling PO-files, storing them locally, pushing PO-files back to server
  • Editing PO-files (via polib), Google Translate, update PO-file metainfo
  • Transifex file locking
  • Qt4 models, views, threading, dialogs

Progress since midterm evaluation:

  • Better icons so they would fit in better with N900
  • Clean up menus, for example "Exit" is unneccessary
  • Better undo capabilities, at least allow reverting to original string once in string editor window
  • Improve locking logic, for example "Forget changes" upon closing the file should unlock the file
  • Show translation completeness (percentage in PO file list)
  • Check internet connectivity
  • Opening and saving local PO-files

To-do

  • Do caching properly so after pulling files user could edit them offline
  • Add support for projects with multiple files for same language
  • Better error checking: if locking fails, if file is not in utf8
  • Pushing and locking in background
  • Make Transifex interface pluggable so string-level API could be dropped in easily afterwards.