Comments (3)
From @dselman accordproject/cicero#111:
My inclination is:
enum TemporalUnit {
@localization_en( 'day', 'days')
@localization_fr( 'jour', 'jours')
o DAY
//...
}
With the second key (plural) optional.
Note that in its current state Composer doesn't support multiple decorators with the same name on the same element.
Also, note that while an external localization file would be very nice for translation purposes it would be tricky to make it work with models that are loaded from URLs.
from concerto.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs in the next 14 days. Thank you for your contributions.
from concerto.
This issue has been automatically closed because no further activity occurred. If you believe the issue is still relevant, please either reopen this issue, open a new issue, or contact one of the project maintainers
from concerto.
Related Issues (20)
- Protobuf visitor fails with CTO file with unversioned namespace
- Identifier Regex is too restrictive. HOT 5
- Add support for compilation of models to Avro Format
- Concerto scalar inline defaults HOT 2
- OpenAPI/JSON Schema Inference Enhancements
- JSON Schema generation improvements for base types
- Convert a payload to and from a Concerto-compliant one HOT 2
- Remove references to Ergo from Concerto HOT 1
- Rust Code-generation from Concerto HOT 1
- Concerto to Protobuf generation fails when using APAP models
- TypeScript codegen is broken with a model containing enum or scalar HOT 1
- Generating a sample breaks when regex used on identifier
- Any type
- Support min and max length for a string property in CTO HOT 6
- API to Create an English Vocabulary File for a Model HOT 22
- Allow multiple vocabulary terms per concept and property HOT 1
- Ambiguous imports do not fail validation HOT 2
- Mermaid diagram is incorrect for relationships HOT 9
- concerto-util normaliser does not turn commas into a lower dashes
- Vocabulary management broken for Scalars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concerto.