-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add documentation, expand tests and rename language->locale
- Loading branch information
1 parent
5190a3a
commit 4ad823b
Showing
5 changed files
with
181 additions
and
77 deletions.
There are no files selected for viewing
This file contains 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,38 @@ | ||
--- | ||
page_title: "keycloak_realm_translation Resource" | ||
--- | ||
|
||
# keycloak_realm_tranlsation Resource | ||
|
||
Allows for managing Realm Translations overrides within Keycloak. | ||
|
||
A translation defines a schema for representing a locale with a map of key/value pairs and how they are managed within a realm. | ||
|
||
Note: whilst you can provide translations for unsupported locales, they will not take effect until they are defined within the realm resource. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "keycloak_realm" "realm" { | ||
realm = "my-realm" | ||
} | ||
resource "keycloak_realm_translation" "realm_translation" { | ||
realm_id = keycloak_realm.my_realm.id | ||
locale = "de" | ||
translations = { | ||
"Hello" : "Hallo" | ||
} | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
- `realm_id` - (Required) The ID of the realm the user profile applies to. | ||
- `locale` - (Required) The locale (language code) the translations apply to. | ||
- `translations` - (Optional) A map of translation keys to values. | ||
|
||
|
||
## Import | ||
|
||
This resource does not currently support importing. |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.