Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

multiple languages in links sql

Quote Reply
multiple languages in links sql
Hi,

just thinking about to use links sql in one database with two languages - it should be possible to "switch" between the languages ... does anyone could give me a good starting point to do this?



Quote Reply
Re: multiple languages in links sql In reply to
If you use page.cgi, you can dynamically switch between different language templates. Refer to the page.cgi script for further instructions.

You could also copy the nph-build.cgi script and use different variables defined in the Links.pm (e.g., $build_root_url ==> $build_french_url), and then build two different directories, but use the same tables in MySQL.

Regards,

Eliot Lee
Quote Reply
Re: multiple languages in links sql In reply to
Hi,
in the first case: page.cgi
i can only influence the templates isnīt it ?
But I want also the description/categories and so on to be switchable from one language to an other.
Finally it means to modify the database to have 2 switchable languages, is this correct ?
Thank you very much for your help