vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

Make it possible to translate some labels

Open soetz opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

This issue is very similar to #893

I noticed some more text that is hardcoded into the default theme components, and it would be super if they were translateable.

Describe the solution you'd like

Same as #893, themeConfig options would do the job.

I guess they could be grouped with themeConfig.outlineTitle, themeConfig.lastUpdatedText and themeConfig.docFooter under something like themeConfig.translate or themeConfig.customText?

Describe alternatives you've considered

We can still extend the theme to get this functionality, so this is not critical.

Additional context

No response

Validations

soetz avatar Jul 09 '22 11:07 soetz

Hi! Yeah we would fix all these issues. In the meanwhile, you can track #631.

Can you help us figure out all such labels to override?

brc-dd avatar Jul 10 '22 09:07 brc-dd

Good to know, thanks!

I’ve looked a bit and those are the only ones that I found, but of course if I notice new ones I’ll add them :)

soetz avatar Jul 11 '22 14:07 soetz