andy
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Andrey Markin on 5/13/2025 in #questions
Multi-language to Next.js website
You shouldn't need duplicate columns in the database, internationalization is a client side thing.
As an example, you can still render the same
date_created
column in different languages on the client, it just requires that you pass a language argument to whatever date string-ification function you're using.
If you're talking about translation databases, if you want different files for different languages, consider using https://github.com/amannn/next-intl, where you'll have an en.json
, jp.json
, etc. You could also attempt to make your own internationalization system, although getting it to work with SSR, and be typesafe might be a little bit tricky.7 replies
TTCTheo's Typesafe Cult
•Created by __Fallenreaper on 5/15/2025 in #questions
Can I host a local UploadThing?
The uploadthing server is closed source. so you can't run it on your own hardware, and afaik is relatively integrated with S3 and R2, if you want to run your own file hosting solution, consider running an FTP server
4 replies