Symfony中的Transchoice和yaml
我相信Symfony中的yml翻译文件。这些字符串结构良好 我的问题很简单:以下复数字符串中的链接有效吗?如果答案是肯定的,怎么做Symfony中的Transchoice和yaml,symfony,translation,Symfony,Translation,我相信Symfony中的yml翻译文件。这些字符串结构良好 我的问题很简单:以下复数字符串中的链接有效吗?如果答案是肯定的,怎么做 product: list: plural: "{0} product.list.none|{1} product.list.one|]1,19] product.list.lower20|[20,Inf[ product.list.larger20" none: There is no product one
product:
list:
plural: "{0} product.list.none|{1} product.list.one|]1,19] product.list.lower20|[20,Inf[ product.list.larger20"
none: There is no product
one: There is one product
lower20: There are %count% products
larger20: There are many products
正确的语法是:
product:
list:
plural: "{0} There is no product|{1} There is one product|]1,19] There are %count% products|[20,Inf[ There are many products"
正确的语法是:
product:
list:
plural: "{0} There is no product|{1} There is one product|]1,19] There are %count% products|[20,Inf[ There are many products"
正确的语法是:
product:
list:
plural: "{0} There is no product|{1} There is one product|]1,19] There are %count% products|[20,Inf[ There are many products"
正确的语法是:
product:
list:
plural: "{0} There is no product|{1} There is one product|]1,19] There are %count% products|[20,Inf[ There are many products"
不清楚你在问什么,请尝试澄清你的问题对不起,我不清楚:我想要一个“复数”字符串,然后解析它。为了更好的结构,我更喜欢上面写的。但它不是这样工作的。不清楚你在问什么,请尝试澄清你的问题对不起,我不清楚:我想要一个“复数”字符串,然后解析它。为了更好的结构,我更喜欢上面写的。但它不是这样工作的。不清楚你在问什么,请尝试澄清你的问题对不起,我不清楚:我想要一个“复数”字符串,然后解析它。为了更好的结构,我更喜欢上面写的。但它不是这样工作的。不清楚你在问什么,请尝试澄清你的问题对不起,我不清楚:我想要一个“复数”字符串,然后解析它。为了更好的结构,我更喜欢上面写的。但它不是这样工作的。在这种情况下,你如何使用不同的语言?一种语言的yml文件(messages.en.yml,messages.fr.yml,messages.it.yml…)我认为翻译链接不存在。是的,看起来不错,对不起。然后在你的答案中添加这个解释和文档链接。在这种情况下,你可以如何使用不同的语言?yml文件中的一种语言(messages.en.yml,messages.fr.yml,messages.it.yml…)我认为翻译链接不存在。是的,看起来不错,对不起。然后在你的答案中添加这个解释和文档链接。在这种情况下,你可以如何使用不同的语言?yml文件中的一种语言(messages.en.yml,messages.fr.yml,messages.it.yml…)我认为翻译链接不存在。是的,看起来不错,对不起。然后在你的答案中添加这个解释和文档链接。在这种情况下,你可以如何使用不同的语言?yml文件中的一种语言(messages.en.yml,messages.fr.yml,messages.it.yml…)我认为翻译链接不存在。是的,看起来不错,对不起。然后把这个解释和文档链接添加到你的答案中。