Ignore:
Timestamp:
19 Feb 2012, 10:04:15 (13 years ago)
Author:
Henrik Bettermann
Message:

Start first translations: French, Hausa and Yoruba. I used the 'Name of faculty' string for testing.

Documentation: http://grok.zope.org/documentation/how-to/how-to-internationalize-your-application

In combination with poEdit it's really fun!

Now we need a language selector to not only depend on the Accept-Language header of the HTTP-request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py

    r7665 r7667  
    2121from zope.interface import Attribute
    2222from waeup.sirp.interfaces import (ISIRPObject, ISIRPContainer)
     23from waeup.sirp import MessageFactory as _
    2324
    2425from waeup.sirp.university.vocabularies import (
     
    4344
    4445    title = schema.TextLine(
    45         title = u'Name of faculty',
     46        title = _(u'name_of_faculty', default=u'Name of faculty'),
    4647        default = u'Unnamed',
    4748        required = True,
Note: See TracChangeset for help on using the changeset viewer.