Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation integration with Weblate #10

Open
Covkie opened this issue Oct 6, 2023 · 3 comments
Open

Translation integration with Weblate #10

Covkie opened this issue Oct 6, 2023 · 3 comments

Comments

@Covkie
Copy link

Covkie commented Oct 6, 2023

Wondering about the feasibility of integrating translation support with the wiki. On the file formatting front I assume the framework that is in use for this wiki has support for something like: /docs/start_here/BlockBench.md -> /docs/start_here/BlockBench/en_us.md.

Weblate does have support for markdown files as listed here: https://docs.weblate.org/en/latest/formats.html. Maybe there is a more useful format that could be switched to.

Lmk!

@joeyleesi
Copy link
Contributor

For markdown files it looks something like
/docs/start_here/BlockBench.md -> i18n/fr/docusaurus-plugin-content-docs/next/BlockBench.md
For React components those have to modified a bit to be translated with either the Translate component or translate() callback. Then you run a command to generate json files that have the items that need to be translated with a description of what they are. Seems like it's possible!

further reading

@Covkie
Copy link
Author

Covkie commented Oct 8, 2023

Cool! Let me know when you have the time and we could work on getting a basic proof of concept working.

@Covkie
Copy link
Author

Covkie commented Nov 1, 2023

We're now selfhosting at https://translate.figuramc.org/ - as its been 3 weeks whats the update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants