我的messageFormat
字符串看起来像这样:{foo, select, one/two{1-2} other{3}}
,但是messageFormat
解析器由于/
使用它而引发错误。
我试过了,但没有工作:
{foo, select, one'/'two{1-2} other{3}}
{foo, select, 'one/two'{1-2} other{3}}
有任何想法吗?
参考资料:
https ://messageformat.github.io/messageformat/
https://messageformat.github.io/messageformat/page-guide#toc3__anchor