Change button navigation text "Next" / "Previous"

Viewed 881

in docusaurus 2 the docs navigation buttons has a text "Next" or "Previous". I wonder if there is way to modify or personalize these texts. My documentation site is in Spanish and its quite awkward having distinct languages in the same page. Thanks.

This image shows what I refer to:

enter image description here

2 Answers

I've been able to change some css with the class

.pagination-nav 

I got rid off "next" and "previous" by setting this class to display:none

.pagination-nav__sublabel

But haven't tried to get text into it.

Related