angular-i18n Angular 6 Internationalisation : How to deal with variables

前端 未结 2 1279
无人及你
无人及你 2021-01-11 17:01

I\'ve read the entire doc here : https://angular.io/guide/i18n

I can\'t make heads or tails of how I\'m supposed to handle a html tag of this nature :



        
2条回答
  •  借酒劲吻你
    2021-01-11 17:16

    Given the official instructions "translating-plural-and-select-expressions", can't you do ? :

    {currentpage, select, title1 {title1} title2 {title2} unknowntitle {unknowntitle}}

提交回复
热议问题