Closed jobara closed 9 months ago
It seems this is because the Sectors and Impacts are modelled. There are seders to create the models, but the translations were likely not available when the seeder was run initially in the staging and productions sites. This is why the issue isn't reproducible on the dev site and locally, because the translations are now available, meaning their databases are created with the correct translations.
One question is if these should actually be in the database at all, or if they should be moved to an Enum.
In talking to @greatislander, he suggested keeping them as models so that it would be easier to maintain the database integrity if there are bigger changes in the future. If we go this route, we should add these models to the filament admin.
I've manually updated the Staging and Production databases to have the French translations for the Sectors and Impacts. These models should be added to filament; which will be done as part of #2080
Prerequisites
Describe the bug
When creating and viewing projects the sectors and areas of impact show up in English, even when the site is in French.
Expected behavior
The text should be displayed in French when the site is in French.
Screenshots