Comments (2)
The spec is indeed explicitly insisting on native language ordinals:
111e in French.
111th in English.
You can get these using twitter_cldr_rb, which is the localisation code Metanorma already uses:
https://github.com/twitter/twitter-cldr-rb
require "twitter_cldr"
sequence = 111
111.localize(:en).to_rbnf_s("OrdinalRules", "digits-ordinal") # = "111th"
111.localize(:fr).to_rbnf_s("OrdinalRules", "digits-ordinal-feminine") # = "111e"
111.localize(:fr).to_rbnf_s("OrdinalRules", "digits-ordinal-masculine") # = "111e"
In French, whether to use feminine or masculine depends on the noun gender that it is being applied to.
réunion "meeting" is feminine, so meeting-sequence uses digits-ordinal-feminine. I'm not seeing ordinals being applied to any other noun in that document.
@andrew2net If this is not actioned already, could you please action it?
from bipm-editor-guides.
Already actioned in relaton-bipm. Adding clarification in documentation.
from bipm-editor-guides.
Related Issues (4)
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 bipm-editor-guides.