Skip to content

How to translate these? #575

Answered by h-enk
ImaCrea asked this question in Support
Dec 13, 2021 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Unfortunately, these strings are still hardcoded (will be fixed in an upcoming release of Doks).

You can do this by overwriting the relevant parent files (that's how the child theme works),

So, in your case:

  • Copy ./node_modules/@hyas/doks/layouts/partials/header/header.html to ./layouts/partials/header/header.html, and update line 102. Result:

  • Copy ./node_modules/@hyas/doks/layouts/partials/sidebar/docs-toc.html to ./layouts/partials/sidebar/docs-toc.html, and update line 3. Result:

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ImaCrea
Comment options

@h-enk
Comment options

@h-enk
Comment options

@ImaCrea
Comment options

@ImaCrea
Comment options

Answer selected by ImaCrea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants