Translation strings in a skin
Reported by Gaspard Bucher | September 3rd, 2008 @ 12:45 PM | in 1.0
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(3).
status changed from new to closed.
resolution set to fixed.
(In [969]) Implemented translations available to zafu. Use [load] tag. Fixes #9(3).
status changed from new to closed.
resolution set to fixed.
Comments and changes to this ticket
-
Gaspard Bucher September 3rd, 2008 @ 02:55 PM
- Milestone set to 1.0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Anyone knows how to use formatting here ?
Git repository: http://github.com/zena
Official website: http://zenadmin.org
People watching this ticket
Tags
Referenced by
- 9 Translation strings in a skin (In [969]) Implemented translations available to zafu. Us...
- 9 Translation strings in a skin (In [969]) Implemented translations available to zafu. Us...
- 202 dictionary available during rendering: dynamic translations Refs #9.