PyCharm 2026.1 Help

Properties files

Properties files are text files with the .properties extension, containing localization strings in the form of key and value pairs that can be accessed and rendered in the UI.

PyCharm marks these files with the following icon: プロパティファイル.

PyCharm also recognizes properties files in XML format. They are marked with the icon XML properties file.

Several properties files with the same base name and a language-specific suffix can be combined into a resource bundle for convenience.

Create a properties file

  1. From the context menu of the target directory, choose 新規 | ファイル.

  2. In the 新規ファイル dialog, type the filename with the corresponding extension .properties , and click OK.

Encoding of properties files

Configure default encoding for properties files

  1. 設定 ダイアログ(Ctrl+Alt+S )で、 エディター | ファイルエンコーディング を選択します。

  2. Select the encoding from the Default encoding for properties files list.

  3. If necessary, enable Transparent native-to-ascii conversion to show native characters (those not defined in ISO-8859-1) in place of the corresponding escape sequences.

The default properties file encoding setting
2026 年 6 月 1 日