So we added class= "notranslate" to the price DOM to dynamically modify the price DOM information when the currency changes. For the price on the page, we don't want to be translated into multiple languages. In this project, we need two functions, multi-language and multi-currency, to complete internationalization. I can give you an example of best practices: We are working on a cross-border e-commerce project. ![]() Only the translation of static content is supported without refreshing the page.įor something you don't want to translate, add class= "notranslate" ![]() Note that here we invoke /translate_a/element.js library file, the translation for the web pages of writing is the full amount. Prop name: showArrow, type: Boolean, default: true Tips
0 Comments
Leave a Reply. |