【发布时间】:2016-11-06 12:20:26
【问题描述】:
我已经阅读了大部分文档,但找不到任何关于国际化的内容。 falcor 是否有支持国际化的标准化方式,还是留给用户自行破解?以他们的文档为例:
{
todosById: {
"44": {
name: "get milk from corner store",
done: false,
prerequisites: [{ $type: "ref", value: ["todosById", 54] }]
},
"54": {
name: "withdraw money from ATM",
done: false,
prerequisites: []
}
},
todos: [
{ $type: "ref", value: ["todosById", 44] },
{ $type: "ref", value: ["todosById", 54] }
]
};
如果 'name' 属性对于不同的语言翻译有多个值,你会怎么做?
【问题讨论】:
标签: falcor