Localisation of custom navbar and footer

AI-generated summary

Localisation of custom navbar and footer discussion revolves around making custom navigation bars localized based on country. vinayak_gupta wants to know if there’s a way to achieve this, potentially using APIs or Handlebars, and shares their sample code. merefield suggests using a Theme Component, which has built-in support for localizable strings, and shares a link to a relevant meta post. vinayak_gupta has already made changes to the existing theme’s HTML and is looking for a way to localize the navbars, possibly by calling an API to consume data.

Hi,
I have made some custom navigation bars by writing some HTML code in the edit CSS/HTML option. Now I want it to be localized based on country. So is there any possible way I can make it localized?
I am attaching my sample code. Can I make use of any API or handlebars or any such stuff to make it working?

If you made this a Theme Component there is inbuilt support:

I have made changes in HTML of the existing theme. See the attached code. Now I want the navbars to be loacalised. Can I call my API and consume the data or is there any other way work around it?

navbar.txt (693 Bytes)