Hi,
I’m using a address-fields
section within my <div id="snipcart">
to add a phone number field. I would like the label to be localized according to my current locale. Localization has been setup and is working using next-translate
. However, it appears that the html inside that div is only considered on initial loading of the page, is that correct?
Since I’m switching the locale without doing a full-reload, the changed markup is not considered it seems.
Also, I think this is only during development, but I sometimes get a warning in the console that the Snipcart div has been removed from the page. I think it’s specific to HMR performing some updates while editing the code. Should I worry about this?