-
Hi there, For the moment, I'm starting with one language so multi languages is not enabled. But I need to have the full site in French. I'm using the child version of the theme and it's ok for 99% of the website. Still, there are two things in the interface that I'm not able to translate. I'm wondering if it's possible or if I need to custom the parent version? Thanks for your help :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
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: |
Beta Was this translation helpful? Give feedback.
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: