User:RafaelOrtiz/UserCases: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (New page: This is intended to give support, standardize and investigate ways and procedures to do things the better way. Then move this to documentation pages. == Creating an activity == * Source ...)
 
m (user case- giving shape.)
Line 12: Line 12:
from gettext import gettext as _
from gettext import gettext as _
put your strings as _()
put your strings as _()
./setup.py genpo (./setup.py genl10n ?)
./setup.py genpo
msginit or gettext
msginit (generates en_US.po)
msginit -l es
msginit -l es (to generate es.po)
xgettext (to know what messages can and are displayed in the .pot)
xgettext ?
POTFILES.in ?
POTFILES.in ?
MANIFEST ?
MANIFEST ?

Revision as of 23:12, 29 September 2007

This is intended to give support, standardize and investigate ways and procedures to do things the better way. Then move this to documentation pages.

Creating an activity

  • Source code
  • Sugarization
  • Jhbuild-sugar interaction
  • Maintenance

Internationalization

import gettext 
from gettext import gettext as _
put your strings as _()
./setup.py genpo 
msginit    (generates en_US.po)
msginit -l es (to generate es.po)
xgettext (to know what messages can and are displayed in the .pot)
POTFILES.in ?
MANIFEST ?

Testing

  • QA

Other things

  • Support issues