馃悰 [Bug] Categories are not localised
Created by: Tirokk
Authored by mattwr18 Closed
馃悰 Bugreport
We are currently storing the Categories as English words in the database, which means they are not localised anywhere is the front end.
A user should be able to see the categories in their preferred language.
Steps to reproduce the behavior
- Change the language from the
LocaleSwitch
dropdown toDE
- Click on the filterPosts dropdown in the navbar on the homepage
- Notice the Categories are still in English
- ...
- Profit
Additional context
There are several possible solutions: here are some articles about the subject https://www.vertabelo.com/blog/technical-articles/data-modeling-for-multiple-languages-how-to-design-a-localization-ready-system https://www.smashingmagazine.com/2014/06/css-driven-internationalization-in-javascript/