-
Notifications
You must be signed in to change notification settings - Fork 39
Babel.BabelTranslation
rico edited this page Dec 7, 2016
·
1 revision
The BabelTranslation snippets returns the ID of a translated resource in a given context.
Name | Description | Default |
---|---|---|
resourceId | (optional) ID of resource of which a translated resource should be determined. | current resource's ID |
contextKey | Key of context in which translated resource should be determined. | |
showUnpublished | (optional) Flag whether to show unpublished translations. | 0 |
[[BabelTranslation? &contextKey=`de`]]
This will return the ID of the translated resource located in the "de" context of the current resource.