mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
providing_live_templates.md: Add a localization tip
This commit is contained in:
parent
06445844a0
commit
2da394b3cc
@ -57,9 +57,8 @@ The export produces a file called <path>Markdown.xml</path> with the following c
|
|||||||
</templateSet>
|
</templateSet>
|
||||||
```
|
```
|
||||||
|
|
||||||
The display `description` can also provide localized variants by specifying
|
> To [localize](providing_translations.md) the description, instead of the `description` attribute, use `key` and `resource-bundle` attributes pointing to a key in a [message bundle](internationalization.md#message-bundles) (code insight is available in 2020.3 and later).
|
||||||
`key` and `resource-bundle` attributes instead (code insight is available in 2020.3 and later).
|
> A quick fix to extract the localized key is available since 2024.2.
|
||||||
A quick fix to extract the localized key is available since 2024.2.
|
|
||||||
|
|
||||||
Copy this file into the [plugin's resources folder](%gh-sdk-samples-master%/live_templates/src/main/resources/liveTemplates).
|
Copy this file into the [plugin's resources folder](%gh-sdk-samples-master%/live_templates/src/main/resources/liveTemplates).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user