Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Translation strings in a skin

#9

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.

Reported by Gaspard Bucher · September 3rd, 2008 @ 12:45 PM

State: resolved
Milestone: 1.0
Assigned to: Gaspard Bucher Gaspard Bucher

Activity

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.