1

When you install Bartik and minimize your browser to mobile display you can see the caption "Show - Main navigaton":

enter image description here

I want to translate it to Hebrew so I went to admin/config/regional/translate and typed the stream to change it but found nothing so I guess it's hardcoded somewhere.

Yet, I searched in page.html.twig and menu-block twig but didn't find this stream. I also didn't find CSS language-construct (as in content:x;).

You might know where this stream is located or at least answer with a good way to search it?

3

You can translate following strings through the core translation system (admin/config/regional/translate):

  • Show — @configuration.label
  • Hide — @configuration.label

The strings above are defined in block--system-menu-block.html.twig at line 17 and 18.

Furthermore you should translate/rename your Main menu name.

  • Can you please elaborate some more on the saying: "Furthermore you should translate/rename your Main menu name." ? Thx, – JohnDoea Nov 27 '16 at 23:55
  • You can translate the name of your Main menu to Hebrew so that the whole string of the menu will be in Hebrew. Translating can be done through the UI: admin/config/regional/translate – Gun5m0k3 Nov 28 '16 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.