mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
internationalization.md: Add a tip to ensure that bundle files are encoded in UTF-8
This commit is contained in:
parent
4e94d6d11f
commit
0917c3b268
@ -148,6 +148,8 @@ Annotating message key parameter with [`@PropertyKey`](%gh-java-annotations%/com
|
|||||||
|
|
||||||
### Moving Strings to Message Bundles
|
### Moving Strings to Message Bundles
|
||||||
|
|
||||||
|
> Make sure the encoding for bundle files is set to UTF-8 in <ui-path>Settings | Editor | File Encodings | Properties Files (*.properties)</ui-path>.
|
||||||
|
|
||||||
IntelliJ IDEA provides inspections with fixes which help with moving strings to message bundles, e.g. <ui-path>Editor | Inspections | Java | Internationalization | Hardcoded strings</ui-path> for Java and Kotlin code.
|
IntelliJ IDEA provides inspections with fixes which help with moving strings to message bundles, e.g. <ui-path>Editor | Inspections | Java | Internationalization | Hardcoded strings</ui-path> for Java and Kotlin code.
|
||||||
|
|
||||||
It is possible to move multiple hardcoded strings to a message bundle in batch mode.
|
It is possible to move multiple hardcoded strings to a message bundle in batch mode.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user