Open awinogradov opened 1 year ago
1) Create middleware for locale check. If user has no saved locale - save current, if it has - redirect to saved locale 2) Write locale to DB 3) Pass to user session so it can be accessed in trpc context
1) Create middleware for locale check. If user has no saved locale - save current, if it has - redirect to saved locale 2) Write locale to DB 3) Pass to user session so it can be accessed in trpc context