複数形の翻訳ルール

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.