[geeklog-devtalk] translations of static pages

Tony Bibbs tony at tonybibbs.com
Mon Jan 26 17:35:23 EST 2004


This should consider supporting other languages easy. Can you explain
how hard/difficult it would be to add, for example, Italian? I guess my
main point is if adding support for a new language requires code changes
I'm less interested. If what you have is fairly generic then I'd be
interested.

A URL to a working example or some screen shots or a tarball of code
might interest a few of us to look into this further.

--Tony

arthur wrote:

> Hi folks-

>

> I have a site which requires multi-language support (english and

> spanish) of both the application text and the content of pages. I've

> been hacking static pages to support translations of every page in order

> to do this.

>

> At this point, I'm doing this as much more of a hack, however, if there

> is interest, I'd be willing to neaten this up and wanted to ask this

> list if people were interested.

>

> The hack that I'm using modifies the database structure of the

> staticpages plugin, the admin, template, and display pages of the static

> page.

>

> I've setup two sets of input fields on the admin page. One for english

> title and content, one for spanish.

>

> On the display side, I check the cookie to see if a spanish is set as

> the language. if it has been, it displays the spanish content, if not,

> english.

>

> anybody interested?

>

> arthur

>

>

>

> -------------------------------------------------------------------

> arthur at eggplantmedia.com | www.eggplantmedia.com

>

> _______________________________________________

> geeklog-devtalk mailing list

> geeklog-devtalk at lists.geeklog.net

> http://lists.geeklog.net/listinfo/geeklog-devtalk




More information about the geeklog-devtalk mailing list