Originally posted on Trac by gaspard Original Trac Ticket
Description
Create a translations file that can be loaded in a skin. The
file should be yaml.
Example in zafu:
home
...
The example above would use the file "navigation.trans" for
which a french version could look like:
home: accueil
back: retour
The translations are read during compile time and are written in
the template. Could be used for * static text * static messages *
date formats
Trac Attachments
Trac Comments
2008-05-16 23:24:14 changed by gaspard
(In [969]) Implemented translations available to
zafu. Use [load] tag. Fixes #9 Translation strings in a skin(3).
status changed from new to closed.
resolution set to fixed.
(In [969]) Implemented translations available to
zafu. Use [load] tag. Fixes #9 Translation strings in a skin(3).
status changed from new to closed.
resolution set to fixed.