<a id="winrc"></a>

# Windows RC ファイル

#### Versionchanged
バージョン 4.1 で変更: Windows RC ファイルへの対応を書き換えました。

<a id="index-0"></a>

RC ファイルは、Windows アプリケーション用の翻訳可能なテキスト、ダイアログ、メニューを現地語化するために使用される言語ファイルです。

#### SEE ALSO
[Windows RC files](https://docs.translatehouse.org/projects/translate-toolkit/en/latest/formats/rc.html)

## ファイルの例

Windows RC ファイルの記述例:

```c
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT

STRINGTABLE
BEGIN
    IDS_MSG1                "Hello, world!\n"
    IDS_MSG2                "Orangutan has %d banana.\n"
    IDS_MSG3                "Try Weblate at http://demo.weblate.org/!\n"
    IDS_MSG4                "Thank you for using Weblate."
END
```

<!-- AUTOGENERATED START: format-features rc -->
<!-- This section is automatically generated by `./manage.py list_format_features`. Do not edit manually. -->

#### 対応機能

| File extensions                                                                                      | `.rc`       |
|------------------------------------------------------------------------------------------------------|-------------|
| Linguality [ⓘ](https://docs.weblate.org/ja/latest/formats.md#bimono)                                   | Monolingual |
| Supports plural [ⓘ](https://docs.weblate.org/ja/latest/formats.md#format-plurals)                      | `No`        |
| Supports descriptions [ⓘ](https://docs.weblate.org/ja/latest/formats.md#format-description)            | `Yes`       |
| Supports explanation [ⓘ](https://docs.weblate.org/ja/latest/formats.md#format-explanation)             | `No`        |
| Supports context [ⓘ](https://docs.weblate.org/ja/latest/formats.md#format-context)                     | `No`        |
| Supports location [ⓘ](https://docs.weblate.org/ja/latest/formats.md#format-location)                   | `No`        |
| Supports flags [ⓘ](https://docs.weblate.org/ja/latest/formats.md#format-flags)                         | `No`        |
| API identifier                                                                                       | `rc`        |
| Supports read-only strings [ⓘ](https://docs.weblate.org/ja/latest/formats.md#read-only-strings)        | `No`        |
| Supports removing obsolete strings [ⓘ](https://docs.weblate.org/ja/latest/formats.md#obsolete-strings) | `No`        |
<!-- AUTOGENERATED END: format-features rc -->

## Weblate の設定

|                      | 典型的な Weblate [コンポーネント構成](https://docs.weblate.org/ja/latest/admin/projects.md#component)   |
|----------------------|-----------------------------------------------------------------------------------|
| ファイル マスク             | `lang/*.rc`                                                                       |
| モノリンガル用の、基礎となる言語ファイル | `lang/en-US.rc`                                                                   |
| 新しい翻訳のテンプレート         | `lang/en-US.rc`                                                                   |
| ファイル形式               | RC ファイル                                                                           |
