kellpossible / avalanche-report

A simple self-hosted web server for creating and managing an avalanche forecast for a region, along with accepting public observations.
GNU Affero General Public License v3.0
21 stars 3 forks source link

Localization overrides (and cusom messages too) #81

Closed kellpossible closed 6 months ago

kellpossible commented 7 months ago

In order to support the use case of different forecast regions which will want different messages displayed, especially for the "about us" section, we should support loading localization assets from file system and overriding the current ones, and also providing new messages for use in custom templates. Ideally however we should try to avoid the use of custom templates as they add a much greater maintenance burden.