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
Since the upgrade to react 15.1 #5116, the value attribute isn't being passed to the data element wrapping translations, once the community translator has been activated. This causes the translator to fail processing the strings, as it expects the original string to be in the value attribute.
Seems like this is due to a known regression in React 15- which seems to have been fixed specifically for input/textarea tags in facebook/react#6406
I haven't been able to confirm this, but I don't think the fix above will help with data elements.
A workaround would be to use a data-value attribute (or similar), and update the community translator accordingly.
Repro:
Set UI locale to not-English
Enable the community translator
Activate the community translator
Notice strings not being translatable (properly highlighted) + console errors.
The text was updated successfully, but these errors were encountered:
Since the upgrade to react 15.1 #5116, the value attribute isn't being passed to the
data
element wrapping translations, once the community translator has been activated. This causes the translator to fail processing the strings, as it expects the original string to be in the value attribute.Seems like this is due to a known regression in React 15- which seems to have been fixed specifically for input/textarea tags in facebook/react#6406
I haven't been able to confirm this, but I don't think the fix above will help with data elements.
A workaround would be to use a
data-value
attribute (or similar), and update the community translator accordingly.Repro:
The text was updated successfully, but these errors were encountered: