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

Creating bilingual events using 'Events' plugin

Started by konstantinos 6 years ago · 1 replies · 488 views
6 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???

6 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 Paul Hodges, 4 weeks ago
19 491 6 days ago
Support · by Lauw, 1 week ago
2 107 1 week ago
Support · by Anna, 3 weeks ago
4 431 1 week ago
Support · by gtx, 4 weeks ago
4 380 3 weeks ago
Support · by Anna, 1 month ago
9 487 4 weeks ago