Translatable badges in sidebar #1721
Closed
dragomano
started this conversation in
Feature Requests
Replies: 2 comments
-
|
Agreed! Something we missed in the API design when adding this feature, but would be good to add. Maybe once we figure this out for the site title in #1620, we can then use a similar pattern for category badges like this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Starting with Starlight 0.28.0, sidebar badges can now be translated: {
slug: 'constellations/andromeda',
badge: {
text: {
en: 'New',
'pt-BR': 'Novo',
},
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlightare you using?0.21.4
What is your idea?
Why is this feature necessary?
For completeness of translation :)
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions