[Templates] internationalization support (i18n)

[prev] [thread] [next] [Date index for 2005/06/01]

From: Daniel Schmeck
Subject: [Templates] internationalization support (i18n)
Date: 20:14 on 01 Jun 2005
I use the template toolkit for generating static html pages. At the moment are 
all templates with german content.

For the future I'm going to generate every page two times. One page with 
german content, the other page with english content. Images, outgoing links, 
layout are the same on both pages. The only difference is the translation of 
the text.

At the start of the web page the user can choose the german or the english 
pages. If you choose the german pages the menu and the content is german.

What's the best approach to doing this? Are there any plugins or frameworks 
for this?

If not, what options do I have to realize it myself?

My source templates are plain text files . Are xml source templates better for 
internationalization?

I'm thinking over this options:

a) different templates,

b) multiple strings in the same template or

c) multiple elements in a xml file.

With best regards
Daniel Schmeck
        -- 
        Daniel Schmeck
mail for usenet: dansch-postings@xxx.xxx
realmail: schmeckzilla ( at ) web ( punkt ) de

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] internationalization support (i18n)
Daniel Schmeck 20:14 on 01 Jun 2005

Re: [Templates] internationalization support (i18n)
Birgit Kellner 09:06 on 02 Jun 2005

Re: [Templates] internationalization support (i18n)
Thomas Klausner 09:48 on 02 Jun 2005

Re: [Templates] internationalization support (i18n)
Sebastian Riedel 11:29 on 02 Jun 2005

Re: [Templates] internationalization support (i18n)
Daniel Schmeck 18:25 on 05 Jun 2005

Generated at 20:13 on 05 Jun 2005 by mariachi v0.52