复数形式翻译规则

下表展示了 Qt Linguist 的特定规则且 lrelease 遵循语言选择。单元格标记 otherwise 指示工具使用表单,当其它规则不适合特定语言时。

语言 规则 1 规则 2 规则 3
English n == 1 otherwise N/A
法语 n < 2 otherwise N/A
捷克语 n % 100 == 1 n % 100 >= 2 && n % 100 <= 4 otherwise
爱尔兰语 n == 1 n == 2 otherwise
拉脱维亚语 n % 10 == 1&& n % 100 != 11 n != 0 otherwise
立陶宛语 n % 10 == 1&& n % 100 != 11 n % 100 != 12 && n % 10 == 2 otherwise
马其顿语 n % 10 == 1 n % 10 == 2 otherwise
波兰语 n == 1 n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 > 20) otherwise
罗马尼亚语 n == 1 n == 0|| (n % 100 >= 1 && n % 100 <= 20) otherwise
俄语 n % 10 == 1&& n % 100 != 11 n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 > 20) otherwise
斯洛伐克语 n == 1 n >= 2 && n <= 4 otherwise
日语 otherwise N/A N/A