lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
8.32k stars 447 forks source link

[Docs]: Internationalization #1387

Open goisaki opened 5 months ago

goisaki commented 5 months ago

Description

It was created based on #1386 that was suspended.

Hm, I'd like to hold off from translating docs until I have bit more free time. The docs are bound to change a lot since we just released v3 so I don't think it's a smart idea to start now either. Can you open a new issue instead? Should also figure out what's the best approach to organizing and serving content too.

Originally posted by @pilcrowOnPaper in https://github.com/lucia-auth/lucia/issues/1386#issuecomment-1918911671

goisaki commented 5 months ago

hi @pilcrowOnPaper I have created a demo of the documentation for multiple languages. Give it a try.

cd docs
pnpm i
pnpm build
goisaki commented 5 months ago

By super simple method like:

#!/bin/sh
rm -rf ./dist
malta build
cd translations/ja
malta build
cp -r ./dist/ja ../../dist