We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Assume you have a domain class User with a translatable property description. You update user details like this
description
def update() { User user = User.get(params.id) user.properties = params user.save() }
If params contains a lang flag like lang = en. The description property in UserTranslation should be automatically updated.
lang
lang = en
UserTranslation
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Assume you have a domain class User with a translatable property
description
.You update user details like this
If params contains a
lang
flag likelang = en
. Thedescription
property inUserTranslation
should be automatically updated.The text was updated successfully, but these errors were encountered: