Comparing version 3.11.0 to 3.11.1
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101932
84