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

feat: initial implementation of i18n/l10n #5214

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pluiedev
Copy link
Contributor

@pluiedev pluiedev commented Jan 18, 2025

See #2357. Tech-wise, we're just using regular ol' gettext, except that we use Zig ports of xgettext and msgfmt that actually understand Zig source files. We also generate .mo files from .po files automatically, and one can run zig build update-translations to update the .pot and .po files (this is not run automatically as it alters source files).

I am terrible at translating. Please don't take my amateur 5-second Chinese translations seriously :p

@pluiedev pluiedev force-pushed the push-msztnoyvksmy branch 6 times, most recently from 42ecfbb to 4ec03c2 Compare January 23, 2025 12:53
@pluiedev pluiedev force-pushed the push-msztnoyvksmy branch 3 times, most recently from 9e43d66 to 300bfc7 Compare February 3, 2025 08:51
@pluiedev pluiedev marked this pull request as draft February 3, 2025 08:55
@pluiedev pluiedev force-pushed the push-msztnoyvksmy branch 5 times, most recently from 244885a to e39d635 Compare February 3, 2025 11:33
please don't seriously use this. i am terrible at translating
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

Successfully merging this pull request may close these issues.

1 participant