Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

use-intl

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-intl - npm Package Compare versions

Comparing version 3.11.0 to 3.11.1

4

package.json
{
"name": "use-intl",
"version": "3.11.0",
"version": "3.11.1",
"sideEffects": false,

@@ -96,3 +96,3 @@ "author": "Jan Amann <jan@amann.work>",

],
"gitHead": "5db8a1d7acd8d60f241828f62dab3bcfbd411007"
"gitHead": "78f88d1493eb796498b7fb2c986536ac49cffda0"
}

@@ -7,3 +7,3 @@ # 🌐 use-intl

Internationalization is an essential part of the user experience. `use-intl` gives you everything you need to get language subtleties right and has always got your back whenever you need to fine-tune a translation.
Internationalization (i18n) is an essential part of the user experience, therefore `use-intl` gives you all the parts you need to get language nuances right.

@@ -18,7 +18,5 @@ - 🌟 **ICU message syntax**: Localize your messages with interpolation, cardinal & ordinal plurals, enum-based label selection and rich text.

This library is based on the premise that messages can be grouped by namespaces (typically a component name).
```jsx
// UserProfile.tsx
import {useTranslations} from 'next-intl';
import {useTranslations} from 'use-intl';

@@ -57,2 +55,3 @@ export default function UserProfile({user}) {

2. Add the provider
3. Use internationalization in components

@@ -87,4 +86,2 @@ ```jsx

## Usage
Please refer to the [`next-intl` usage docs](https://next-intl-docs.vercel.app/docs/usage) for more advanced usage, but note that you should import from `use-intl` instead of `next-intl`.
### [→ Read the docs](https://next-intl-docs.vercel.app/docs/environments/core-library)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc