Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Creating bilingual events using 'Events' plugin

Started by konstantinos 5 years ago · 1 replies · 398 views
5 years ago

Hi everyone …The site i am trying to create must be bilingual. So i have this problem with the created events cause i first created it them in Eng , but when i switch into Greek and press on the date to see the scheduled events it will always bring the Eng one as well even if i create a new event in Greek . That turns to show the same event twice in both languages… Oh and something else… The name of the month disappeared just like that from the top of the calendar for no reason. Weird???

5 years ago

@kleas, I cannot reproduce the issue of duplicate events using the calendar layout. Only events of a single language are shown.

In a clean Grav 1.7.0-rc.20 installation using Quark theme, the following will only show events belonging to a single language:

  • Using the following language configuration in '/user/config/system.yaml'
    YAML
    languages:
    supported: [en, gr]
    # All other language settings have default settings
    
  • And with following folder/files of calendar page:
    TXT
    user/pages/03.calendar
    ├── calendar.en.md
    ├── calendar.gr.md
    └── event1
      ├── event.en.md
      └── event.gr.md
    

The title of the Calendar seems indeed to be broken IMHO.

Suggested topics

Topic Participants Replies Views Activity
Support · by Water Science, 3 weeks ago
11 161 2 hours ago
Support · by Duc , 18 hours ago
1 42 18 hours ago
Support · by Thomas, 1 week ago
3 115 1 day ago
Support · by Anna, 4 days ago
2 105 2 days ago
Support · by Justin Young, 2 days ago
1 85 2 days ago