我的messageformat
字符串如下所示:{foo,select,one/two{1-2} other{3}}
,但是messageformat
解析器由于其中/
的使用而引发错误。
我已经尝试过,但是没有用:
{foo,one'/'two{1-2} other{3}}
{foo,'one/two'{1-2} other{3}}
有什么想法吗?
参考文献:
https://messageformat.github.io/messageformat/
https://messageformat.github.io/messageformat/page-guide#toc3__anchor