复数形式的翻译规则

Qt Linguist 和 支持 所支持的所有语言的复数形式。lrelease QLocale

下表显示了一小部分语言的具体规则。标有其他标记的单元格表示当其他规则都不适合特定语言时工具使用的形式。

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

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.