# AppSourceCop Warning AS0087
Translations of enum value captions must not contain commas
## Description
Translations of enum value captions must not contain commas. Commas in captions will result in values with wrong captions both in the UI and potential unexpected results in connection with formatting and evaluating enums.
## Remarks
This warning ensures that translations of enum value captions don't include commas, which can cause issues in the user interface and during the processing of enums. Commas can interfere with the correct display and handling of enum values, leading to misleading or incorrect information being shown to users. Additionally, commas can cause problems when enums are formatted or evaluated programmatically, potentially leading to unexpected behavior or errors.
## How to fix this diagnostic?
To resolve this warning, follow these steps:
1. Locate the enum value captions in your code that contain commas in their translations.
2. Modify the translations to remove any commas from the captions.
## Related information
AppSourceCop Analyzer<appsourcecop>
Get Started with AL<../devenv-get-started>
Developing Extensions<../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/appsourcecop-as0087, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/analyzers/appsourcecop-as0087/
