Doichain/dapp

internationalize templates

开放

#21 创建于 2018年5月4日

 (0 条评论) (0 个反应) (2 位负责人)JavaScript (13 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (6 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

  • when requesting the email doi template from Alice (dApp in send-mode) (get-doi-mail-data.js)
  • when visiting redirect url (in correct language)

What we need is the possibility to add a optional lang and optional template param to the REST-API of the send dApp which selects language and template param which you can edit in the send dApp. There it should be possible to add new template where each template has a default language and 'n' translations. The templates and translations should be saved in the local db.

Confirm-dApp is then getting the right template and translation for that user.

Also see: https://github.com/Doichain/dapp/issues/28

贡献者指南