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
Carbon Fields UI gets translated according to currently set language.
Actual Behavior
Carbon Fields UI falls back to English. All fields don't seem to use carbon-fields-ui-[language domain].mo
Steps to Reproduce the Problem
Set WordPress language to anything but English.
Add a field.
Comments
Translation only seems to fail of strings defined in Carbon Fields's Javascript files, like carbon-fields/packages/core/fields/complex/group.js. A function like __( 'Duplicate', 'carbon-fields-ui' ) doesn't return a translated string. If I however use the same function in a random PHP file, the translation works fine. Might this have something to do with the absence of JSON translation files?
The text was updated successfully, but these errors were encountered:
Version
Expected Behavior
Carbon Fields UI gets translated according to currently set language.
Actual Behavior
Carbon Fields UI falls back to English. All fields don't seem to use carbon-fields-ui-[language domain].mo
Steps to Reproduce the Problem
Comments
Translation only seems to fail of strings defined in Carbon Fields's Javascript files, like
carbon-fields/packages/core/fields/complex/group.js
. A function like__( 'Duplicate', 'carbon-fields-ui' )
doesn't return a translated string. If I however use the same function in a random PHP file, the translation works fine. Might this have something to do with the absence of JSON translation files?The text was updated successfully, but these errors were encountered: