Skip to content

Conversation

@mattesmohr
Copy link
Member

@mattesmohr mattesmohr commented Apr 11, 2025

Currently, only a few of the elements are localizable. However, there a some cases where you might want to localize the value of certain attributes e.g. .title(), .value(), .placeholder(), .alternate() and .content() as well. This pull request adds support for that.

It also adds support for verbatim content, in case someone has localization enabled but explicitly does not want the value to be translated.

Input()
   .placeholder(verbatim: "Lorem ipsum....")

@mattesmohr mattesmohr marked this pull request as ready for review April 25, 2025 07:50
@mattesmohr mattesmohr merged commit 360490a into main Apr 25, 2025
1 check passed
@mattesmohr mattesmohr deleted the make-attributes-localizable branch April 25, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant