Locale-Referenz
Hungarian (hu)
Complete reference for the hu locale — live Intl API output, CLDR plural rules, and framework config snippets.
01Locale-Metadaten
Magyar
- BCP-47-Code
- hu
- Eigenbezeichnung
- Magyar
- Englischer Name
- Hungarian
- Sprache
- hu
- Region
- Keine (Basis-Locale)
- Schrift
- Latn
- Textrichtung
- Links nach rechts (LTR)
- CLDR-Pluralkategorien
- one, other
- Geschätzte Sprecher
- ~13,000,000
02Intl API Live Output
DateTimeFormat
- Short
- 2026. 12. 04.
- Medium
- 2026. dec. 4.
- Long
- 2026. december 4.
- Full
- 2026. december 4., péntek
NumberFormat
- Decimal
- 1 234 567,89
- Currency (USD)
- 9,99 USD
- Percent
- 75%
- Compact
- 1,2 M
RelativeTimeFormat
- -3 day
- 3 nappal ezelőttOutput for: -3 days ago
ListFormat
- Conjunction
- apples, oranges és bananasConjunction list: apples, oranges, bananas
Lefine
Hungarian is supported by Lefine. Add hu to your project in seconds — no manual config required.
CLDR
CLDR Plural Rules
Categories supported by hu: one, other
- oneExample number: 1→ one
- otherExample number: 100→ other
Config
Framework Config Snippets
next.config.ts · i18n/routing.ts
// next-intl configuration// next.config.tsimport createNextIntlPlugin from 'next-intl/plugin';const withNextIntl = createNextIntlPlugin();export default withNextIntl({}); // i18n/routing.tsimport { defineRouting } from 'next-intl/routing';export const routing = defineRouting({ locales: ['hu', 'en'], defaultLocale: 'en',});App.tsx
// react-intl configurationimport { IntlProvider } from 'react-intl';import messages from './messages/hu.json'; function App() { return ( <IntlProvider locale="hu" messages={messages}> {/* your app */} </IntlProvider> );}i18n.ts
// i18next configurationimport i18n from 'i18next';import { initReactI18next } from 'react-i18next'; i18n .use(initReactI18next) .init({ lng: 'hu', fallbackLng: 'en', resources: { 'hu': { translation: require('./locales/hu/translation.json'), }, }, }); export default i18n;hu
Related Locales
Weitere Tools
Weitere kostenlose i18n-Tools
Kostenlose Tools für den restlichen i18n-Workflow: Locale-Daten, ICU-Nachrichten, Dateiformate und hreflang.
01