Add localization support #51
Unanswered
filzrev
asked this question in
Ideas and suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When generating document from OpenCLI spec file.
Multilingual support (i18n) is required for some fields (
summary,description,examples).So I though it need standard rules to support localization for OpenCLI spec.
Example
xlfdirectory (Example of .NET CLI https://github.com/dotnet/sdk/tree/main/src/Cli/dotnet/xlf)idof<trans-unit>useJsonPathrepresentation of target field.(e.g.
$.options[?(@.name == '--help')].description)Note
JsonPathis used to specify element based on other field.When using
JsonPointer. It need specify fields by array index instead ofnamefield.And I though it's redundant to define unique
idper field on OpenCLI spec side.Beta Was this translation helpful? Give feedback.
All reactions