Comments (3)
Hey, thanks for the report! I agree, we could definitely support numberingSystem
and style
.
As for numeric
I'm a bit hesitant though, as it can lead to issues when values are rounded: #765.
See also:
next-intl/packages/use-intl/src/core/createFormatter.tsx
Lines 247 to 257 in 3eefe6f
Do you need numeric
for your use case? If so, can you include further details?
I've added #1057 to look into this.
from next-intl.
At the moment, I only have a need for the style
to specify long
, short
, or narrow
.
I think numberingSystem and style is sufficient for now!
from next-intl.
Sounds good, thanks for the feedback!
from next-intl.
Related Issues (20)
- Localized search/query params HOT 1
- Using Link component with legacyBehavior+passHref producing warnings HOT 3
- getPathname with params HOT 6
- During build process static path are not translated to its reflection from pathnames mapping from config.ts file HOT 1
- Export Href type definition that works for getPathname, redirect & <Link /> params/props HOT 1
- Does not support Pages router with Next.js < 13 HOT 3
- Globally register error handling HOT 1
- return internal server error (500) on root page (work fine internal page) in production next build but work perfectly in development mode HOT 1
- useNow hook will use local time on subsequent renders HOT 1
- Unable to render rich text HOT 1
- Issue with Next.js 15 Canary / withPayload / .mts HOT 2
- Issue with Next.js 15 Canary / withPayload / .mts HOT 1
- formatter.dateTime is not a function HOT 3
- Could not locate i18n config. HOT 2
- When building the project, an error is reported: language key type error,version:3.19.0 HOT 1
- The presence of a warning and error in the console in the App Routing example. HOT 1
- Distance formatter HOT 1
- [Docs]: Example for app directory + cookie / header based locale switching HOT 1
- cannot use request.tsx HOT 4
- The getTranslations and useTranslations methods will fail when the server component sets dynamic to force-static
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 next-intl.