Page MenuHomeFreeBSD

website: fix events and press lists on home page
ClosedPublic

Authored by vladlen on Nov 9 2025, 4:55 PM.
Tags
Referenced Files
Unknown Object (File)
Thu, Jan 22, 2:46 PM
Unknown Object (File)
Sun, Jan 18, 9:32 AM
Unknown Object (File)
Sun, Jan 18, 9:08 AM
Unknown Object (File)
Thu, Jan 15, 4:25 PM
Unknown Object (File)
Nov 28 2025, 9:25 AM
Unknown Object (File)
Nov 24 2025, 3:35 AM
Unknown Object (File)
Nov 21 2025, 1:01 AM
Unknown Object (File)
Nov 21 2025, 12:59 AM
Subscribers

Details

Summary

Currently 'ru' and 'zh-tw' versions of website have translations of the events to corresponding languages, but home page of the website shows events list in English (it takes information from data/en/events). The code to check local version exists, but it checks the existence of events.toml file instead of events2025.toml (if 2025 is current year).
This patch fixes this issue.

Similar issue with the list of the press entries. Only difference - zh-tw has file with translations, but this file is outdated, and zh-tw site uses English version anyway. The proposal to use explicit list of languages (in addition to EN), that have local translation ('ru' and 'fr' added to demonstrate the list behavior, even if 'fr' does not have active website now).

Test Plan
  1. Apply patch
  2. # cd website
  3. # make run
  4. View changes in browser

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable