How to set HTML “lang” attribute dynamically with “i18n” in Node.js and EJS template engine

前端 未结 0 1430
北恋
北恋 2020-12-11 20:27

Localization with i18n and the EJS template engine is straightforward:

<%= __(\'My String\') %>

My Sring will be replaced

相关标签:
回答
  • 消灭零回复
提交回复
热议问题