You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In HTML there is a placeholder attribute which we use for a bunch of our inputs. Which would look something like this <input placeholder="phone"> I would like to translate the text in the placeholder. I could theoretically do this using filters like so: <input placeholder="{{'phone'|translate}}">. However, when running the grunt extract task I created, the text does not get added to the pot file. Am I missing something or do I just have to add it as a variable in js and pass it to the front end which I'd rather not do.
The text was updated successfully, but these errors were encountered:
In HTML there is a placeholder attribute which we use for a bunch of our inputs. Which would look something like this
<input placeholder="phone">
I would like to translate the text in the placeholder. I could theoretically do this using filters like so:<input placeholder="{{'phone'|translate}}">
. However, when running the grunt extract task I created, the text does not get added to the pot file. Am I missing something or do I just have to add it as a variable in js and pass it to the front end which I'd rather not do.The text was updated successfully, but these errors were encountered: