View Full Version : bilingual French and English
Frederique
08-02-2005, 07:26 PM
Hi there,
I am working on a web site that is bilingual (French and English). Can I use your calendar script twice in the same website? Do I have access to the codes to do the translation?
Thanks
Brian
08-02-2005, 07:28 PM
Good question. If you use a mySQL database, you can create two calendar installations, then, share the event database between the two installations (one being in French and the other in English). It wouldn't be possible with a flat-file database.
Frederique
08-02-2005, 07:39 PM
Hi Brian,
So there will not be a problem of licence or copyright then ? I was thinking to translate juste the user interface and not the admin interface. I was also thinking adding a language field somewhere in the database to identify which language should be used. Is it something that I can do?
Brian
08-02-2005, 08:13 PM
A language file for French is already included with the calendar. It's selected from the Setup Manager.
You can install the calendar twice on the same domain, one for each language.
Another option would be to remove the language selection variable from the config.inc.php file and pass this value yourself. This way, you'd only need one installation of the calendar.
ve9gra
08-03-2005, 06:31 AM
Downside to passing the variable, is that the month and day names are defined in the config.inc.php.... not in the language file.
Brian
08-03-2005, 10:12 AM
Good point! You would need to remove these from the config file also and add them to each of your own pages, one set for each language.
alain100
05-20-2007, 03:29 PM
Hi Brian,
I tried both solutions with no luck. If I pass the variable in the page, then I lose the name of the months in the Event Manager, If I try to put two installations on the same database, my entries for the same days override each other. I like the variable solution better, it work fine when I go from the french to the english section of my site but like I said lose the name of the months in the Event Manager. Is there anything elase I could do other then buying another licence.
thanks
Alain
Brian
05-21-2007, 08:36 PM
This thread is almost two years old and no longer applies to later releases of the calendar.
Please search for newer posts first, and start a new thread if needed.
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.