Re: [compute-pressure] Internationalization Checklist (#184)

> The API specification contains two enums whose values are English strings:

Enum values should not be considered "natural language strings". Yes, they generally use English language words as identifiers, but they are not intended for end-users to view nor are they free-form text values. Developers are expected to read the definition backing the keywords in enumerated values (the description of which can be localized). In fact, it is a best practice to define values in a locale-neutral way and wrap that with display strings (exactly as you go on to suggest).

-- 
GitHub Notification of comment by aphillips
Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/184#issuecomment-1421055463 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 7 February 2023 16:25:29 UTC