TranslationErrorCode
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to BLANKBLANK•
The input value is blank.
- Anchor to FAILS_RESOURCE_VALIDATIONFAILS_RESOURCE_VALIDATION•
Translation value is invalid.
- Anchor to INVALIDINVALID•
The input value is invalid.
- Anchor to INVALID_CODEINVALID_CODE•
Locale language code is invalid.
- Anchor to INVALID_FORMATINVALID_FORMAT•
Locale code format is invalid.
- Anchor to INVALID_KEY_FOR_MODELINVALID_KEY_FOR_MODEL•
Translation key is invalid.
- Anchor to INVALID_LOCALE_FOR_SHOPINVALID_LOCALE_FOR_SHOP•
Locale is invalid for the shop.
- Anchor to INVALID_MARKET_LOCALIZABLE_CONTENTINVALID_MARKET_LOCALIZABLE_CONTENT•
Market localizable content is invalid.
- Anchor to INVALID_TRANSLATABLE_CONTENTINVALID_TRANSLATABLE_CONTENT•
Translatable content is invalid.
- Anchor to INVALID_VALUE_FOR_HANDLE_TRANSLATIONINVALID_VALUE_FOR_HANDLE_TRANSLATION•
The handle is already taken for this resource.
- Anchor to MARKET_CUSTOM_CONTENT_NOT_ALLOWEDMARKET_CUSTOM_CONTENT_NOT_ALLOWED•
The shop isn't allowed to operate on market custom content.
- Anchor to MARKET_DOES_NOT_EXISTMARKET_DOES_NOT_EXIST•
The market corresponding to the
argument doesn't exist.
- Anchor to MARKET_LOCALE_CREATION_FAILEDMARKET_LOCALE_CREATION_FAILED•
The market override locale creation failed.
- Anchor to RESOURCE_NOT_FOUNDRESOURCE_NOT_FOUND•
Resource does not exist.
- Anchor to RESOURCE_NOT_MARKET_CUSTOMIZABLERESOURCE_NOT_MARKET_CUSTOMIZABLE•
The specified resource can't be customized for a market.
- Anchor to RESOURCE_NOT_TRANSLATABLERESOURCE_NOT_TRANSLATABLE•
Resource is not translatable.
- Anchor to TOO_MANY_KEYS_FOR_RESOURCETOO_MANY_KEYS_FOR_RESOURCE•
Too many translation keys for the resource.
- Anchor to INVALID_LOCALE_FOR_MARKETINVALID_LOCALE_FOR_MARKET•Deprecated
The locale is missing on the market corresponding to the
argument.
is deprecated because the creation of a locale that's specific to a market no longer needs to be tied to that market's URL.