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

i18n groundwork #81

Merged
merged 24 commits into from
Jan 1, 2025
Merged

i18n groundwork #81

merged 24 commits into from
Jan 1, 2025

Conversation

xen0n
Copy link
Member

@xen0n xen0n commented Oct 21, 2023

EDIT: As of 2025-01-01 the homepage is fully localized. Let's start from here!

@xen0n xen0n mentioned this pull request Oct 21, 2023
xen0n added 23 commits January 1, 2025 14:04
Making use of the undocumented workaround made available at [1].

[1]: facebook/docusaurus#8677
The current locale name is occupying too much horizontal space.

```
yarn swizzle @docusaurus/theme-classic NavbarItem/LocaleDropdownNavbarItem --danger --eject
```
For disabling the mandatory padding around its label.

```
yarn swizzle @docusaurus/theme-classic NavbarItem/DropdownNavbarItem --danger --eject
```

We have to eject instead of wrap, because the .dropdown container's
class name is not customizable, as per the upstream source.
@xen0n xen0n changed the title [WIP] i18n groundwork i18n groundwork Jan 1, 2025
@xen0n xen0n marked this pull request as ready for review January 1, 2025 10:12
@xen0n xen0n merged commit 5102218 into loongson-community:main Jan 1, 2025
3 checks passed
@xen0n xen0n deleted the i18n branch January 1, 2025 10:12
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