#172 i18n. Set language preferences in session or in User model
11/06/2024
Free
π« The official Rails Guides do not recommend to store locale in session/cookie.
Let's break the rules! π
In this episode:
- not logged in users store language preferences in the Session.
- logged in users store language preferences in User model.
This way our routes will stay clean π
0
Sign in to join the conversation
Current playlist
+1
i18n (internationalization)
#1
#171 Internationalisation (i18n) basics. Translate your app!
15:10
#2
#172 i18n. Set language preferences in session or in User model
00:00
#3
#173 automate translations with AI
00:00
#4
#174 i18n. Test translations, refactor, and launch into production! π
00:00