nodejs.dev icon indicating copy to clipboard operation
nodejs.dev copied to clipboard

Feat:(I18n) translate learn section

Open AugustinMauroy opened this issue 3 years ago • 2 comments

translate learn section

In the learning section the sidebar is not translatable because the information is stored in learn.yml .

What would be the possibility to translate this?

AugustinMauroy avatar Sep 12 '22 17:09 AugustinMauroy

What would be the possibility to translate this?

Learn can be translated (at least the pages). Only the sidebar "section" titles cannot be translated; you might create a feature request, as I think we should also support translating for the section titles. But all the remaining part of the sidebar gets translated.

ovflowd avatar Sep 15 '22 21:09 ovflowd

@ovflowd It is well of the titles of which I speak. I open the feature proposal when I have time

AugustinMauroy avatar Sep 16 '22 09:09 AugustinMauroy

The PR will now use the displayTitle for the sidebar, which would fix it. Except still for the categories 😅 will try to open a PR soon to allow those to come from a translation file.

ovflowd avatar Sep 28 '22 17:09 ovflowd