#9 ✓resolved
Gaspard Bucher

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

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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket

Referenced by

Pages