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
As far as I can see, the "you have x words remaining" hint text under the TextArea on a CharacterCount is done via javscript. Unfortunately this javascript has hard-coded English text.
Ideally we should be able to parameterise all text presented to users, which would also (in our application) allow the text to be presented in any language.
Instead, to support switching languages at runtime, we're going to have to re-do the provided javascript that overwrites the content of the hint. Even the JS implementation itself is really unfriendly to be overridden as it assumes a given sentence structure rather than, say, using a StringFormat-type approach.
I presume that supporting all languages is beyond this project's remit, but surely being able to the provided assets for services in Welsh is a must-have?
The text was updated successfully, but these errors were encountered:
@mgladdish Thanks for flagging this 👍 I'm closing your issue as it's a duplicate of #1681, however if there is anything you wanted to raise that isn't captured on that issue please add a comment to it.
As far as I can see, the "you have x words remaining" hint text under the TextArea on a CharacterCount is done via javscript. Unfortunately this javascript has hard-coded English text.
Ideally we should be able to parameterise all text presented to users, which would also (in our application) allow the text to be presented in any language.
Instead, to support switching languages at runtime, we're going to have to re-do the provided javascript that overwrites the content of the hint. Even the JS implementation itself is really unfriendly to be overridden as it assumes a given sentence structure rather than, say, using a StringFormat-type approach.
I presume that supporting all languages is beyond this project's remit, but surely being able to the provided assets for services in Welsh is a must-have?
The text was updated successfully, but these errors were encountered: