Skip to content

Yet another attribute translation question #246

@anilanar

Description

@anilanar

I looked through issues here and I couldn't find one that mentions this problem. Currently it's impossible to translate the following without translating strings in JS:

<input placeholder="Numbers between {{start}} and {{end}}">

Feature request:

Support one of the following syntaxes:

<input translate-placeholder placeholder="Numbers between {{start}} and {{end}}">

or

<input translate-attr="placeholder" placeholder="Numbers between {{start}} and {{end}}">

With this approach, translate-plural, translate-n, translate-context and any other directive related mechanisms can be used for attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions