Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Customizations (Themes / Templates)

Customizations (Themes / Templates) Help with customizing the themes and templates. Post your own custom themes for others to enjoy.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Having two languages on a single domain
Old 11-17-2009, 10:09 PM   #1
daisy34
Calendar User
 
daisy34 is offline
Join Date: Nov 2009
Posts: 1
Default Having two languages on a single domain

I want to have two calendars to view, one in English, one in Korean. I was reading the other threads and know it's possible. The solution is to install the calendar twice, once for each language then share a common mySQL database.

Cool! I know I can do it. My question is in reference to adding a new event. Since it's one database do I only add the event once, if so on the add event screen will I now have double the fields, one for each language? Will I need to add the event twice, once in the English add event screen and once in the Korean add event screen? If that's the case how will the database know which events to show on the English calendar or the Korean calendar? Or will it show both?

My preference is that there is only one add event screen and there are options for each language. I realize that would take some programming on my end. Would this be possible?

Thanks.
 

Old 11-17-2009, 10:11 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

If you want the events in separate languages, you'll need to separate installations, database and all.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 11-18-2009, 08:08 AM   #3
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

You also have the option to use a shared database, and use a sub-category to define if the event is English or Korean. The problem with this solution is that you will not be able to have Korean and English characters defining the days as you will have a single configuration file.

If your interface to the calendar needs to be bilingualized, then you have no option other than to have two separate installations. Note that you will have to modify your second installation's config.inc.php to give your table a different name, so that you can use the same database. The original table name is epc_calendar.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple languages under same domain george1980 General Support 2 02-19-2009 08:45 AM
Transfer of software from one domain to another propolis General Support 2 01-20-2009 10:39 AM
One License Key for One Site with Two Domain Names? yuwusong General Support 1 08-03-2007 04:03 PM
Changing domain, need new license & instructions? m2m General Support 4 06-13-2006 02:24 PM
Multiple Domains to single calendar - re-direct to key'd domain CorpsE General 5 02-03-2006 09:07 PM



All times are GMT -4. The time now is 10:07 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |