-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Introducing description placeholders for service action translations #2844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MartinHjelmare
merged 11 commits into
master
from
service-action-description-placeholders
Nov 27, 2025
Merged
Changes from 2 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
81dc571
Introducing description placeholders for service action translations
jbouwh e673464
placeholders
jbouwh 46dfd26
Update custom action docs
jbouwh 4b726f1
Typo
jbouwh f8283c7
Add link
jbouwh 32c846c
Follow up suggestions
jbouwh e6d4a8a
Tiny tweak
jbouwh 57aacf8
Update docs/internationalization/core.md
jbouwh 624db88
Update docs/dev_101_services.md
jbouwh 0302afd
Update docs/core/integration-quality-scale/rules/action-setup.md
jbouwh 43cdec2
Bump blog date
MartinHjelmare File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| author: Jan Bouwhuis | ||
| authorURL: https://github.com/jbouwh | ||
| authorImageURL: https://avatars.githubusercontent.com/u/7188918?s=96&v=4 | ||
| title: Introducing description placeholders for service action translations | ||
| --- | ||
| It is now possible to use translation placeholders for (custom) service actions. | ||
|
|
||
| The [service action example](/docs/core/integration-quality-scale/rules/action-setup?_highlight=hass.services.async_register#example-implementation) now shows how to supply the available description placeholders during the registration of the service action. | ||
|
|
||
| URLs that are part of the service transaction should be moved out of the service descriptions and translation strings using the description placeholders. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.